Ignore disabled nodes when checking for dependency modules

This commit is contained in:
Nick O'Leary
2025-10-09 13:15:49 +01:00
parent 624e71a7eb
commit 947feb09b3

View File

@@ -171,6 +171,10 @@ async function checkFlowDependencies(flowConfig) {
const checkedSubflows = {};
while (nodes.length > 0) {
let n = nodes.shift();
if (n.d) {
// Ignore disabled nodes
continue
}
if (subflowTypes[n.type] && !checkedSubflows[n.type]) {
checkedSubflows[n.type] = true;
nodes = nodes.concat(subflowTypes[n.type].flow)