diff options
author | isaacs <i@izs.me> | 2013-03-03 19:05:44 -0800 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-03-05 14:27:15 -0800 |
commit | cd68d86c3283af2f4b3c349c2081c609e3978b9b (patch) | |
tree | 1ac21569c2bf81e1d2cdbb5d6a0236bfd89c0833 /lib/_stream_passthrough.js | |
parent | 049903e333f843d7587e7c40845a7d51ea5955f8 (diff) | |
download | android-node-v8-cd68d86c3283af2f4b3c349c2081c609e3978b9b.tar.gz android-node-v8-cd68d86c3283af2f4b3c349c2081c609e3978b9b.tar.bz2 android-node-v8-cd68d86c3283af2f4b3c349c2081c609e3978b9b.zip |
stream: Remove output function from _transform
Just use stream.push(outputChunk) instead.
Diffstat (limited to 'lib/_stream_passthrough.js')
-rw-r--r-- | lib/_stream_passthrough.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_stream_passthrough.js b/lib/_stream_passthrough.js index 0f2fe14c78..557d6de99a 100644 --- a/lib/_stream_passthrough.js +++ b/lib/_stream_passthrough.js @@ -36,6 +36,6 @@ function PassThrough(options) { Transform.call(this, options); } -PassThrough.prototype._transform = function(chunk, output, cb) { +PassThrough.prototype._transform = function(chunk, cb) { cb(null, chunk); }; |