mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 07:31:07 +01:00
Ignore disabled nodes when checking for dependency modules
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user