mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
turn off installer funding messages
This commit is contained in:
parent
8a798e620a
commit
cbf1afc9fe
@ -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