Skip to content

Commit 29b30cf

Browse files
timgestsonisaacs
authored andcommitted
return dest for unix style pipes
1 parent 28c677b commit 29b30cf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

readable.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Readable.prototype.pipe = function(dest, opt) {
3838
}
3939
this.once('readable', flow);
4040
}
41+
42+
return dest;
4143
};
4244

4345
// kludge for on('data', fn) consumers. Sad.

0 commit comments

Comments
 (0)