mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
fix out of scope reference of hasUnusedConfig variable
This commit is contained in:
parent
0aa80d82d9
commit
a2c0e53f87
@ -330,10 +330,10 @@ RED.deploy = (function() {
|
|||||||
RED.notify(RED._("user.errors.deploy"), "error");
|
RED.notify(RED._("user.errors.deploy"), "error");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
let hasUnusedConfig = false;
|
||||||
if (!skipValidation) {
|
if (!skipValidation) {
|
||||||
let hasUnknown = false;
|
let hasUnknown = false;
|
||||||
let hasInvalid = false;
|
let hasInvalid = false;
|
||||||
let hasUnusedConfig = false;
|
|
||||||
const unknownNodes = [];
|
const unknownNodes = [];
|
||||||
const invalidNodes = [];
|
const invalidNodes = [];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user