diff --git a/index.js b/index.js index 64bf4bbc..10787e8c 100644 --- a/index.js +++ b/index.js @@ -940,7 +940,7 @@ module.exports.stream = readableStream => new Promise(resolve => { readableStream.unshift(chunk); if (stream.pipeline) { - resolve(stream.pipeline(readableStream, pass)); + resolve(stream.pipeline(readableStream, pass, () => {})); } else { resolve(readableStream.pipe(pass)); }