Skip to content

Commit

Permalink
Merge pull request #437 from Autokaka/master
Browse files Browse the repository at this point in the history
fix: throw empty error in extractAllToAsync on operation done
  • Loading branch information
cthackers authored Mar 13, 2024
2 parents a366095 + 220a3d6 commit 71a1035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adm-zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -711,9 +711,9 @@ module.exports = function (/**String*/ input, /** object */ options) {
callback(getError("Unable to set times", filePath));
return;
}
fileEntries.delete(entry);
// call the callback if it was last entry
done();
fileEntries.delete(entry);
});
});
}
Expand Down

0 comments on commit 71a1035

Please sign in to comment.