From b9575c8a55492669c5f447558fadbcb77a121d28 Mon Sep 17 00:00:00 2001 From: Anirban Kar Date: Wed, 4 Dec 2024 00:33:22 +0530 Subject: [PATCH] fixed action-runner linting --- app/lib/runtime/action-runner.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/lib/runtime/action-runner.ts b/app/lib/runtime/action-runner.ts index 6098d73..882c91f 100644 --- a/app/lib/runtime/action-runner.ts +++ b/app/lib/runtime/action-runner.ts @@ -101,8 +101,9 @@ export class ActionRunner { console.error('Action failed:', error); }); - // eslint-disable-next-line consistent-return -- TODO: fix this consistent-return error - return this.#currentExecutionPromise; + await this.#currentExecutionPromise; + + return; } async #executeAction(actionId: string, isStreaming: boolean = false) {