Skip to content

Commit 71a1035

Browse files
authored
Merge pull request #437 from Autokaka/master
fix: throw empty error in extractAllToAsync on operation done
2 parents a366095 + 220a3d6 commit 71a1035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adm-zip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,9 +711,9 @@ module.exports = function (/**String*/ input, /** object */ options) {
711711
callback(getError("Unable to set times", filePath));
712712
return;
713713
}
714-
fileEntries.delete(entry);
715714
// call the callback if it was last entry
716715
done();
716+
fileEntries.delete(entry);
717717
});
718718
});
719719
}

0 commit comments

Comments
 (0)