We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb300c9 commit e64e32cCopy full SHA for e64e32c
zipEntry.js
@@ -47,9 +47,10 @@ module.exports = function (/*Buffer*/input) {
47
}
48
49
var compressedData = getCompressedDataFromZip();
50
-
+
51
if (compressedData.length === 0) {
52
- if (async && callback) callback(compressedData, Utils.Errors.NO_DATA);//si added error.
+ // File is empty, nothing to decompress.
53
+ if (async && callback) callback(compressedData);
54
return compressedData;
55
56
0 commit comments