Skip to content

Commit

Permalink
Merge pull request #39 from drudrum/patch-1
Browse files Browse the repository at this point in the history
Update unzip-stream.js
  • Loading branch information
mhr3 authored Apr 20, 2024
2 parents 1378085 + fb546d1 commit f40c850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/unzip-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ UnzipStream.prototype._prepareOutStream = function (vars, entry) {

entry.skip = true;
setImmediate(() => {
entry.emit("error", new Error(message));
self.emit('error', new Error(message));
});

// try to skip over this entry
Expand Down

0 comments on commit f40c850

Please sign in to comment.