diff --git a/red/nodes/flows.js b/red/nodes/flows.js index 3294c1d87..b0b5d5146 100644 --- a/red/nodes/flows.js +++ b/red/nodes/flows.js @@ -34,9 +34,9 @@ events.on('type-registered',function(type) { if (i != -1) { missingTypes.splice(i,1); util.log("[red] Missing type registered: "+type); - } - if (missingTypes.length === 0) { - parseConfig(); + if (missingTypes.length === 0) { + parseConfig(); + } } } });