summaryrefslogtreecommitdiff
path: root/lib/fs.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-12-21 16:51:43 +0000
committerisaacs <i@izs.me>2012-12-21 16:51:43 +0000
commitfb915ed9573d21c5b62c13b8eaa9642a6dbb4b02 (patch)
treec1dfdb554ef33ade7bb303ef9edd05a8d524a86e /lib/fs.js
parentc048c814c79a8706f177573c76bfcba3cda0b633 (diff)
downloadnodejs-fb915ed9573d21c5b62c13b8eaa9642a6dbb4b02.tar.gz
nodejs-fb915ed9573d21c5b62c13b8eaa9642a6dbb4b02.tar.bz2
nodejs-fb915ed9573d21c5b62c13b8eaa9642a6dbb4b02.zip
lint
Diffstat (limited to 'lib/fs.js')
-rw-r--r--lib/fs.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/fs.js b/lib/fs.js
index 44c3fc2e7..c8e44e1d7 100644
--- a/lib/fs.js
+++ b/lib/fs.js
@@ -1412,7 +1412,8 @@ function ReadStream(path, options) {
this.start = options.hasOwnProperty('start') ? options.start : undefined;
this.end = options.hasOwnProperty('start') ? options.end : undefined;
- this.autoClose = options.hasOwnProperty('autoClose') ? options.autoClose : true;
+ this.autoClose = options.hasOwnProperty('autoClose') ?
+ options.autoClose : true;
this.pos = undefined;
if (this.start !== undefined) {