Skip to content

Commit

Permalink
fix: remove unnecessary arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
zp1996 committed May 26, 2019
1 parent 33bd9c6 commit 0c7fcde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asar.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ module.exports.createPackageFromFiles = async function (src, dest, filenames, me
files.push({ filename: filename, unpack: shouldUnpack })
return filesystem.insertFile(filename, shouldUnpack, file, options)
case 'link':
filesystem.insertLink(filename, file.stat)
filesystem.insertLink(filename)
break
}
return Promise.resolve()
Expand Down

0 comments on commit 0c7fcde

Please sign in to comment.