mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Merge branch 'master' into dev
This commit is contained in:
@@ -58,7 +58,7 @@ var api = module.exports = {
|
||||
* @memberof @node-red/runtime_plugins
|
||||
*/
|
||||
getPluginConfigs: async function(opts) {
|
||||
if (/[^a-z\-]/i.test(opts.lang)) {
|
||||
if (/[^0-9a-z=\-\*]/i.test(opts.lang)) {
|
||||
throw new Error("Invalid language: "+opts.lang)
|
||||
return;
|
||||
}
|
||||
|
@@ -220,7 +220,7 @@ var reinstallTimeout;
|
||||
function reinstallModules(moduleList) {
|
||||
const promises = [];
|
||||
const reinstallList = [];
|
||||
const installRetry = 30000;
|
||||
var installRetry = 30000;
|
||||
if (settings.hasOwnProperty('autoInstallModulesRetry')) {
|
||||
log.warn(log._("server.deprecatedOption",{old:"autoInstallModulesRetry", new:"externalModules.autoInstallRetry"}));
|
||||
installRetry = settings.autoInstallModulesRetry;
|
||||
|
Reference in New Issue
Block a user