summaryrefslogtreecommitdiff
path: root/src/node.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.js')
-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;