Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #25 from substack/return_dest

return the destination stream, fixes issue#23
  • Loading branch information...
commit d91f70647a703e8db610a8b67c6d31bef457ed9d 2 parents a070244 + 20c261b
@mikeal authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  main.js
View
1  main.js
@@ -178,6 +178,7 @@ File.prototype.pipe = function (dest, options) {
this.destOptions = options
dest.emit('pipe', this)
// stream.Stream.prototype.pipe.call(this, dest, options)
+ return dest
}
File.prototype.write = function (chunk, encoding) {
if (encoding) chunk = chunk.toString(encoding)
Please sign in to comment.
Something went wrong with that request. Please try again.