fix out of scope reference of hasUnusedConfig variable

This commit is contained in:
Hiroyasu Nishiyama 2022-04-18 08:36:19 +09:00
parent 0aa80d82d9
commit a2c0e53f87
1 changed files with 1 additions and 1 deletions

View File

@ -330,10 +330,10 @@ RED.deploy = (function() {
RED.notify(RED._("user.errors.deploy"), "error");
return;
}
let hasUnusedConfig = false;
if (!skipValidation) {
let hasUnknown = false;
let hasInvalid = false;
let hasUnusedConfig = false;
const unknownNodes = [];
const invalidNodes = [];