From 7f5ce5052bd0ef24196356b8047019f51ede3f24 Mon Sep 17 00:00:00 2001 From: Gonzalo Avalos Ribas Date: Thu, 5 Oct 2023 17:59:36 -0300 Subject: [PATCH] format --- .../src/execution/__tests__/dependencyGraph.test.ts | 4 ++-- .../src/execution/dependencyGraph.ts | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/integration-sdk-runtime/src/execution/__tests__/dependencyGraph.test.ts b/packages/integration-sdk-runtime/src/execution/__tests__/dependencyGraph.test.ts index cbdd68d4a..325c227b8 100644 --- a/packages/integration-sdk-runtime/src/execution/__tests__/dependencyGraph.test.ts +++ b/packages/integration-sdk-runtime/src/execution/__tests__/dependencyGraph.test.ts @@ -712,13 +712,13 @@ describe('executeStepDependencyGraph', () => { stepStartStates, graphObjectStore, (stepId) => { - return createPassingUploader(stepId, passingUploaderCollector); + return createPassingUploader(stepId, passingUploaderCollector); }, ); const expectedCollected: FlushedGraphObjectData[] = [ { - entities: [eA,eB,eC], + entities: [eA, eB, eC], relationships: [], }, ]; diff --git a/packages/integration-sdk-runtime/src/execution/dependencyGraph.ts b/packages/integration-sdk-runtime/src/execution/dependencyGraph.ts index 60286d10f..5e500aefb 100644 --- a/packages/integration-sdk-runtime/src/execution/dependencyGraph.ts +++ b/packages/integration-sdk-runtime/src/execution/dependencyGraph.ts @@ -467,11 +467,12 @@ export function executeStepDependencyGraph< }) : undefined, async (relationships) => - relationships.length ? - uploader?.enqueue({ - entities: [], - relationships, - }) : undefined, + relationships.length + ? uploader?.enqueue({ + entities: [], + relationships, + }) + : undefined, ); try { await uploader?.waitUntilUploadsComplete();