Skip to content

Commit

Permalink
Destination must get a pipe event before nextTick
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeal committed Jul 9, 2012
1 parent d9aff72 commit 6405d38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Expand Up @@ -176,6 +176,7 @@ util.inherits(File, stream.Stream)
File.prototype.pipe = function (dest, options) {
this.dest = dest
this.destOptions = options
dest.emit('pipe', this)
// stream.Stream.prototype.pipe.call(this, dest, options)
}
File.prototype.write = function (chunk, encoding) {
Expand Down

0 comments on commit 6405d38

Please sign in to comment.