codacus commited on
Commit
b9575c8
·
1 Parent(s): 507a7f9

fixed action-runner linting

Browse files
Files changed (1) hide show
  1. app/lib/runtime/action-runner.ts +3 -2
app/lib/runtime/action-runner.ts CHANGED
@@ -101,8 +101,9 @@ export class ActionRunner {
101
  console.error('Action failed:', error);
102
  });
103
 
104
- // eslint-disable-next-line consistent-return -- TODO: fix this consistent-return error
105
- return this.#currentExecutionPromise;
 
106
  }
107
 
108
  async #executeAction(actionId: string, isStreaming: boolean = false) {
 
101
  console.error('Action failed:', error);
102
  });
103
 
104
+ await this.#currentExecutionPromise;
105
+
106
+ return;
107
  }
108
 
109
  async #executeAction(actionId: string, isStreaming: boolean = false) {