mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge branch 'dev' of github.com:node-red/node-red into dev
This commit is contained in:
commit
18af906fd3
@ -158,6 +158,7 @@ module.exports = function(RED) {
|
|||||||
clearInterval(node.intervalID);
|
clearInterval(node.intervalID);
|
||||||
node.intervalID = -1;
|
node.intervalID = -1;
|
||||||
}
|
}
|
||||||
|
delete node.lastSent;
|
||||||
node.buffer = [];
|
node.buffer = [];
|
||||||
node.status({text:"reset"});
|
node.status({text:"reset"});
|
||||||
return;
|
return;
|
||||||
|
@ -108,7 +108,7 @@ function installModule(module,version,url) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var installDir = settings.userDir || process.env.NODE_RED_HOME || ".";
|
var installDir = settings.userDir || process.env.NODE_RED_HOME || ".";
|
||||||
var args = ['install','--no-audit','--no-update-notifier','--save','--save-prefix="~"','--production',installName];
|
var args = ['install','--no-audit','--no-update-notifier','--no-fund','--save','--save-prefix="~"','--production',installName];
|
||||||
log.trace(npmCommand + JSON.stringify(args));
|
log.trace(npmCommand + JSON.stringify(args));
|
||||||
exec.run(npmCommand,args,{
|
exec.run(npmCommand,args,{
|
||||||
cwd: installDir
|
cwd: installDir
|
||||||
@ -201,7 +201,7 @@ function uninstallModule(module) {
|
|||||||
var list = registry.removeModule(module);
|
var list = registry.removeModule(module);
|
||||||
log.info(log._("server.install.uninstalling",{name:module}));
|
log.info(log._("server.install.uninstalling",{name:module}));
|
||||||
|
|
||||||
var args = ['remove','--no-audit','--no-update-notifier','--save',module];
|
var args = ['remove','--no-audit','--no-update-notifier','--no-fund','--save',module];
|
||||||
log.trace(npmCommand + JSON.stringify(args));
|
log.trace(npmCommand + JSON.stringify(args));
|
||||||
|
|
||||||
exec.run(npmCommand,args,{
|
exec.run(npmCommand,args,{
|
||||||
|
Loading…
Reference in New Issue
Block a user