Skip to content
This repository
Browse code

return the destination stream, fixes issue#23

  • Loading branch information...
commit 20c261b7b8b9dbc0015aef94c88081b355fabba0 1 parent a070244
James Halliday authored August 28, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  main.js
1  main.js
@@ -178,6 +178,7 @@ File.prototype.pipe = function (dest, options) {
178 178
   this.destOptions = options
179 179
   dest.emit('pipe', this)
180 180
   // stream.Stream.prototype.pipe.call(this, dest, options)
  181
+  return dest
181 182
 }
182 183
 File.prototype.write = function (chunk, encoding) {
183 184
   if (encoding) chunk = chunk.toString(encoding)

0 notes on commit 20c261b

Please sign in to comment.
Something went wrong with that request. Please try again.