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:
parent
6014a62b3e
commit
441e792849
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user