diff --git a/pullstream.js b/pullstream.js index 2c46e7f..29529da 100644 --- a/pullstream.js +++ b/pullstream.js @@ -61,7 +61,7 @@ PullStream.prototype.pullUpTo = over([ PullStream.prototype.pipe = over([ [over.numberOptionalWithDefault(null), over.object, function (len, destStream) { - if (!len) { + if (len == null) { return PassThrough.prototype.pipe.call(this, destStream); }