Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
5saviahv committed Nov 19, 2020
1 parent dc81063 commit e114929
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 @@ -225,7 +225,7 @@ module.exports = function (/**String*/input) {
var p = localPath.split("\\").join("/").split("/").pop();

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

// read file attributes
const _attr = fs.statSync(localPath);
Expand Down

0 comments on commit e114929

Please sign in to comment.