Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
fix bin path
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslawpluta committed Jan 23, 2016
1 parent f56cb24 commit 6f9ef39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/downloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function addToPkg() {
'use strict';
var list = Object.keys(pkg);
list.splice(list.indexOf('main') + 1, 0, 'bin');
pkg.bin = filePath.replace(path.join(__dirname, '..'), '.');
pkg.bin = filePath;
pkg = sortObj(pkg, list);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
"vows": "*"
},
"license": "MIT"
}
}

0 comments on commit 6f9ef39

Please sign in to comment.