Skip to content

Commit

Permalink
Fix non closed zip file on windows: use yaulz autoClose=true option
Browse files Browse the repository at this point in the history
  • Loading branch information
khelkun committed Jun 24, 2020
1 parent a4fa4ad commit 69c7c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/onezip.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ OneZip.prototype._extract = function(from) {
this.emit('start');

const lazyEntries = true;
const autoClose = false;
const autoClose = true;
const options = {
lazyEntries,
autoClose,
Expand Down

0 comments on commit 69c7c6d

Please sign in to comment.