Skip to content

Commit

Permalink
feat(lib): apply regroup to outputs not just inputs
Browse files Browse the repository at this point in the history
only when appending - otherwise outputs are lost if not already grouped.

Signed-off-by: James Crowley <[email protected]>
  • Loading branch information
jamescrowley authored and manushak committed Sep 17, 2024
1 parent 982cfca commit 7618d8b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/if-run/lib/compute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ const computeNode = async (node: Node, params: ComputeParams): Promise<any> => {
) {
logger.warn(EMPTY_PIPELINE);
}
const originalOutputs = node.outputs || [];

/**
* If iteration is on observe pipeline, then executes observe plugins and sets the inputs value.
Expand Down Expand Up @@ -193,9 +192,6 @@ const computeNode = async (node: Node, params: ComputeParams): Promise<any> => {
node.outputs = originalOutputs.concat(node.outputs || []);
}
}
if (params.append) {
node.outputs = originalOutputs.concat(node.outputs || []);
}
console.debug('\n');
};

Expand Down

0 comments on commit 7618d8b

Please sign in to comment.