1
0
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:
Dave Conway-Jones 2020-05-31 11:21:53 +01:00
parent 8a798e620a
commit cbf1afc9fe
No known key found for this signature in database
GPG Key ID: 302A6725C594817F

View File

@ -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,{