Skip to content

Commit 4f0f447

Browse files
fengmk2Copilot
andauthored
Update lib/xz/file_stream.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e8465b5 commit 4f0f447

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/xz/file_stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class XzFileStream extends stream.Transform {
4040

4141
// For streaming input
4242
this.on('pipe', srcStream => {
43-
srcStream.unpipe(srcStream);
43+
srcStream.unpipe(this);
4444
srcStream.pipe(compressor);
4545
});
4646
}

0 commit comments

Comments
 (0)