mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Better logging when deprecated editorTheme.palette.* settings used
This commit is contained in:
@@ -125,7 +125,7 @@ function start() {
|
||||
return redNodes.load().then(function() {
|
||||
let autoInstallModules = false;
|
||||
if (settings.hasOwnProperty('autoInstallModules')) {
|
||||
log.warn(log._("runtime.deprecatedOption",{old:"autoInstallModules", new:"externalModules.autoInstall"}));
|
||||
log.warn(log._("server.deprecatedOption",{old:"autoInstallModules", new:"externalModules.autoInstall"}));
|
||||
autoInstallModules = true;
|
||||
}
|
||||
if (settings.externalModules) {
|
||||
@@ -198,7 +198,7 @@ function reinstallModules(moduleList) {
|
||||
const reinstallList = [];
|
||||
const installRetry = 30000;
|
||||
if (settings.hasOwnProperty('autoInstallModulesRetry')) {
|
||||
log.warn(log._("runtime.deprecatedOption",{old:"autoInstallModulesRetry", new:"externalModules.autoInstallRetry"}));
|
||||
log.warn(log._("server.deprecatedOption",{old:"autoInstallModulesRetry", new:"externalModules.autoInstallRetry"}));
|
||||
installRetry = settings.autoInstallModulesRetry;
|
||||
}
|
||||
if (settings.externalModules && settings.externalModules.hasOwnProperty('autoInstallRetry')) {
|
||||
|
Reference in New Issue
Block a user