mirror of
https://github.com/ershisan99/go-npm.git
synced 2025-12-16 20:59:28 +00:00
Merge pull request #3 from jan-molak/master
Ensure the installation path exists
This commit is contained in:
@@ -45,6 +45,7 @@ function getInstallationPath(callback) {
|
||||
dir = stdout.trim();
|
||||
}
|
||||
|
||||
mkdirp.sync(dir);
|
||||
|
||||
callback(null, dir);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user