mirror of https://github.com/node-red/node-red.git
Merge pull request #3535 from node-red-hitachi/fix-unknown-config-error
fix out of scope reference of `hasUnusedConfig` variablepull/3536/head
commit
d6a1b4e71f
|
@ -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 = [];
|
||||
|
||||
|
|
Loading…
Reference in New Issue