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() }