Merge pull request #2974 from aheissenberger/fix-bundle-error

Fixed esbuild bundle error "installRetry" was declared a constant and changed
This commit is contained in:
Nick O'Leary
2021-05-11 17:45:07 +01:00
committed by GitHub

View File

@@ -218,7 +218,7 @@ var reinstallTimeout;
function reinstallModules(moduleList) { function reinstallModules(moduleList) {
const promises = []; const promises = [];
const reinstallList = []; const reinstallList = [];
const installRetry = 30000; var installRetry = 30000;
if (settings.hasOwnProperty('autoInstallModulesRetry')) { if (settings.hasOwnProperty('autoInstallModulesRetry')) {
log.warn(log._("server.deprecatedOption",{old:"autoInstallModulesRetry", new:"externalModules.autoInstallRetry"})); log.warn(log._("server.deprecatedOption",{old:"autoInstallModulesRetry", new:"externalModules.autoInstallRetry"}));
installRetry = settings.autoInstallModulesRetry; installRetry = settings.autoInstallModulesRetry;