Skip to content

Commit

Permalink
Merge pull request #3 from RecuencoJones/feature/fix-incorrect-bin-path
Browse files Browse the repository at this point in the history
ADD changes from sanathkr#7
  • Loading branch information
RecuencoJones authored Feb 5, 2020
2 parents 695a64f + 13f1dd6 commit a16e524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ function getInstallationPath(callback) {
dir = stdout.trim();
}

dir = dir.replace(/node_modules.*\/\.bin/, 'node_modules/.bin');
mkdirp.sync(dir);

callback(null, dir);
Expand Down

0 comments on commit a16e524

Please sign in to comment.