Skip to content

Commit e114929

Browse files
committedNov 19, 2020
typo
1 parent dc81063 commit e114929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎adm-zip.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ module.exports = function (/**String*/input) {
225225
var p = localPath.split("\\").join("/").split("/").pop();
226226

227227
// add file name into zippath
228-
zipPath += (zipName) ? zipPath : p;
228+
zipPath += (zipName) ? zipName : p;
229229

230230
// read file attributes
231231
const _attr = fs.statSync(localPath);

0 commit comments

Comments
 (0)
Please sign in to comment.