diff --git a/packages/editor-ui/src/composables/useRunWorkflow.test.ts b/packages/editor-ui/src/composables/useRunWorkflow.test.ts index 1037e5c972d5d..043747dae480c 100644 --- a/packages/editor-ui/src/composables/useRunWorkflow.test.ts +++ b/packages/editor-ui/src/composables/useRunWorkflow.test.ts @@ -313,6 +313,6 @@ describe('useRunWorkflow({ router })', () => { expect(result.startNodeNames).toContain('node1'); expect(result.runData).toEqual(undefined); - }) + }); }); }); diff --git a/packages/editor-ui/src/composables/useRunWorkflow.ts b/packages/editor-ui/src/composables/useRunWorkflow.ts index 3124863f13fb8..65eb1a79187bb 100644 --- a/packages/editor-ui/src/composables/useRunWorkflow.ts +++ b/packages/editor-ui/src/composables/useRunWorkflow.ts @@ -428,7 +428,10 @@ export function useRunWorkflow(options: { router: ReturnType } for (const parentNode of parentNodes) { // We want to execute nodes that don't have run data neither pin data // in addition, if a node failed we want to execute it again - if ((!runData[parentNode]?.length && !pinData?.[parentNode]?.length) || runData[parentNode]?.[0]?.error !== undefined) { + if ( + (!runData[parentNode]?.length && !pinData?.[parentNode]?.length) || + runData[parentNode]?.[0]?.error !== undefined + ) { // When we hit a node which has no data we stop and set it // as a start node the execution from and then go on with other // direct input nodes