Skip to content

Commit

Permalink
OSX symlink fix nwutils/nw-builder#443
Browse files Browse the repository at this point in the history
  • Loading branch information
IharKrasnik committed Nov 29, 2017
1 parent e0f4c0b commit 6f1cb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/extractors.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var extractors = {
return getLinkLocation(file, destination, zip, basePath);
})
.then(function (linkTo) {
return symlink(path.resolve(parent, linkTo), destination)
return symlink(linkTo, destination)
.then(function () {
return {symlink: file.path, linkTo: linkTo};
});
Expand Down

0 comments on commit 6f1cb6b

Please sign in to comment.