mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
fix(core): Check all node outputs when using "Always Output Data" before adding an empty object (#17602)
This commit is contained in:
@@ -1632,8 +1632,10 @@ export class WorkflowExecute {
|
||||
});
|
||||
|
||||
nodeSuccessData = this.assignPairedItems(nodeSuccessData, executionData);
|
||||
const noOutputData =
|
||||
!nodeSuccessData || nodeSuccessData.every((data) => !data?.length);
|
||||
|
||||
if (!nodeSuccessData?.[0]?.[0]) {
|
||||
if (noOutputData) {
|
||||
if (executionData.node.alwaysOutputData === true) {
|
||||
const pairedItem: IPairedItemData[] = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user