mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
let node installer try to save with ~ version prefix to allow minor updates
This commit is contained in:
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
Block a user