mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix runNpmCommand on Windows
This commit is contained in:
@@ -342,7 +342,8 @@ var runNpmCommand = function (args, cwd) {
|
||||
var npmPath;
|
||||
|
||||
if (os.platform() === "win32") {
|
||||
npmPath = files.pathJoin(nodeBinDir, "npm.cmd");
|
||||
npmPath = files.convertToOSPath(
|
||||
files.pathJoin(nodeBinDir, "npm.cmd"));
|
||||
} else {
|
||||
npmPath = files.pathJoin(nodeBinDir, "npm");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user