mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
fix(core): Fix issue when a node does not return data
This commit is contained in:
parent
da437039a1
commit
5eea3cd6d0
|
@ -939,8 +939,9 @@ export class WorkflowExecute {
|
||||||
workflowId: workflow.id,
|
workflowId: workflow.id,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (nodeSuccessData) {
|
||||||
// Check if the output data contains pairedItem data
|
// Check if the output data contains pairedItem data
|
||||||
checkOutputData: for (const outputData of nodeSuccessData as INodeExecutionData[][]) {
|
checkOutputData: for (const outputData of nodeSuccessData) {
|
||||||
if (outputData === null) {
|
if (outputData === null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -962,6 +963,7 @@ export class WorkflowExecute {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (nodeSuccessData === undefined) {
|
if (nodeSuccessData === undefined) {
|
||||||
// Node did not get executed
|
// Node did not get executed
|
||||||
|
|
Loading…
Reference in a new issue