Skip to content

Commit

Permalink
fixed abort issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Dec 26, 2013
1 parent 8af48e4 commit 25efe46
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 @@ -13,7 +13,7 @@ var isFS = function(stream) {
};

var isRequest = function(stream) {
return stream.setHeader && typeof isFn(stream.abort);
return stream.setHeader && isFn(stream.abort);
};

var destroyer = function(stream, reading, writing, callback) {
Expand Down

0 comments on commit 25efe46

Please sign in to comment.