diff options
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 557d6de99a..a5e986430d 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, cb) { +PassThrough.prototype._transform = function(chunk, encoding, cb) { cb(null, chunk); }; |