mirror of
https://github.com/ershisan99/go-npm.git
synced 2025-12-16 12:33:24 +00:00
Merge pull request #3 from RecuencoJones/feature/fix-incorrect-bin-path
ADD changes from https://github.com/sanathkr/go-npm/pull/7
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user