0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

stdin.pipe: Replace forgotten opts member

This commit is contained in:
isaacs 2012-06-21 19:36:17 -07:00
parent 6014a62b3e
commit 441e792849

View File

@ -403,9 +403,9 @@
// when piping stdin to a destination stream,
// let the data begin to flow.
var pipe = stdin.pipe;
stdin.pipe = function(dest) {
stdin.pipe = function(dest, opts) {
stdin.resume();
return pipe.call(stdin, dest);
return pipe.call(stdin, dest, opts);
};
return stdin;