mirror of https://github.com/node-red/node-red.git
let node installer try to save with ~ version prefix to allow minor updates
parent
2482d122b8
commit
303f67c036
|
@ -99,7 +99,7 @@ function installModule(module,version) {
|
|||
}
|
||||
|
||||
var installDir = settings.userDir || process.env.NODE_RED_HOME || ".";
|
||||
var child = child_process.execFile(npmCommand,['install','--save','--save-exact','--production',installName],
|
||||
var child = child_process.execFile(npmCommand,['install','--save','--save-prefix="~"','--production',installName],
|
||||
{
|
||||
cwd: installDir
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue