From 441e7928492b73b21b7d1d9dced4ee4537fc90c4 Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 21 Jun 2012 19:36:17 -0700 Subject: [PATCH] stdin.pipe: Replace forgotten opts member --- src/node.js | 4 ++-- 1 file 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;