mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Remove nodeGetter checks (#4883)
🔥 Remove `nodeGetter` checks
This commit is contained in:
@@ -583,28 +583,6 @@ export class WorkflowDataProxy {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
|
||||||
nodeName !== that.activeNodeName &&
|
|
||||||
!that.runExecutionData?.resultData.runData?.hasOwnProperty(nodeName)
|
|
||||||
) {
|
|
||||||
throw new ExpressionError(`no data, execute "${nodeName}" node first`, {
|
|
||||||
runIndex: that.runIndex,
|
|
||||||
itemIndex: that.itemIndex,
|
|
||||||
failExecution: true,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
if (
|
|
||||||
nodeName !== that.activeNodeName &&
|
|
||||||
!that.workflow.getNodeConnectionIndexes(that.activeNodeName, nodeName, 'main')
|
|
||||||
) {
|
|
||||||
throw new ExpressionError(`connect "${that.activeNodeName}" to "${nodeName}"`, {
|
|
||||||
runIndex: that.runIndex,
|
|
||||||
itemIndex: that.itemIndex,
|
|
||||||
failExecution: true,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
return that.nodeDataGetter(nodeName);
|
return that.nodeDataGetter(nodeName);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user