mirror of
https://github.com/ershisan99/go-npm.git
synced 2025-12-16 20:59:28 +00:00
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