Skip to content

Commit

Permalink
missing another noop
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Jul 12, 2014
1 parent 9d1c06d commit ef4ac14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var isFn = function(fn) {
};

var isFS = function(stream) {
return (stream instanceof (fs.ReadStream || noop) || stream instanceof fs.WriteStream) && isFn(stream.close);
return (stream instanceof (fs.ReadStream || noop) || stream instanceof (fs.WriteStream || noop)) && isFn(stream.close);
};

var isRequest = function(stream) {
Expand Down

0 comments on commit ef4ac14

Please sign in to comment.