1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

fix node validation to be applied to config node

This commit is contained in:
Hiroyasu Nishiyama 2022-02-04 17:45:00 +09:00
parent 5293563a6a
commit fb81121bd3

View File

@ -334,6 +334,9 @@ RED.deploy = (function() {
var invalidNodes = [];
RED.nodes.eachConfig(function(node) {
if (!node.hasOwnProperty("valid")) {
RED.editor.validateNode(node);
}
if (!node.valid && !node.d) {
invalidNodes.push(getNodeInfo(node));
}