From be1b610e30a5d60651067c2e6f645c249cff4b0e Mon Sep 17 00:00:00 2001 From: Nell Hardcastle Date: Thu, 16 Jan 2025 12:34:22 -0800 Subject: [PATCH] fix(cli): Add missing await to PromiseQueue enqueue step --- cli/src/worker/queue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/worker/queue.ts b/cli/src/worker/queue.ts index aa07b17cdd..7ab0d648ab 100644 --- a/cli/src/worker/queue.ts +++ b/cli/src/worker/queue.ts @@ -3,7 +3,7 @@ export class PromiseQueue { private running = false enqueue(promiseFn: (...args: any[]) => Promise, ...args: any[]) { - this.queue.push(async () => promiseFn(...args)) + this.queue.push(async () => await promiseFn(...args)) this.processQueue() }