mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
fix: Prevent type error messages for manual executions (no-changelog) (#6229)
* fix: Prevent type error messages for manual executions (no-changelog) * Update packages/core/src/WorkflowExecute.ts Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com> --------- Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
This commit is contained in:
@@ -199,10 +199,11 @@ export class WorkflowExecute {
|
|||||||
if (node && pinData && pinData[node.name]) {
|
if (node && pinData && pinData[node.name]) {
|
||||||
incomingData.push(pinData[node.name]);
|
incomingData.push(pinData[node.name]);
|
||||||
} else {
|
} else {
|
||||||
incomingData.push(
|
const nodeIncomingData =
|
||||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
runData[connection.node][runIndex]?.data?.[connection.type][connection.index];
|
||||||
runData[connection.node][runIndex].data![connection.type][connection.index]!,
|
if (nodeIncomingData) {
|
||||||
);
|
incomingData.push(nodeIncomingData);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
incomingSourceData.main.push({
|
incomingSourceData.main.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user