summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-06-21 19:36:17 -0700
committerisaacs <i@izs.me>2012-06-21 19:36:17 -0700
commit441e7928492b73b21b7d1d9dced4ee4537fc90c4 (patch)
tree25ea2a3e037f227cbab8f2dafe4c860a31bf00f3 /src
parent6014a62b3ec97557c60e6fa0d30d4cd6879820bb (diff)
downloadnode-new-441e7928492b73b21b7d1d9dced4ee4537fc90c4.tar.gz
stdin.pipe: Replace forgotten opts member
Diffstat (limited to 'src')
-rw-r--r--src/node.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node.js b/src/node.js
index 891fec143f..e3e1f7d3c8 100644
--- a/src/node.js
+++ b/src/node.js
@@ -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;