Skip to content

Commit fe45651

Browse files
authored
Merge pull request #427 from PuneetP16/fix-app-reload
[fix]: shell commands execution failure on app reload
2 parents 02f4de4 + 5add317 commit fe45651

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/lib/runtime/action-runner.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,12 @@ export class ActionRunner {
9595

9696
this.#currentExecutionPromise = this.#currentExecutionPromise
9797
.then(() => {
98-
this.#executeAction(actionId, isStreaming);
98+
return this.#executeAction(actionId, isStreaming);
9999
})
100100
.catch((error) => {
101101
console.error('Action failed:', error);
102102
});
103+
return this.#currentExecutionPromise;
103104
}
104105

105106
async #executeAction(actionId: string, isStreaming: boolean = false) {

0 commit comments

Comments
 (0)