Skip to content

Commit 5141c9f

Browse files
authored
fix(core): add missing await when processing task for batches (#17027)
1 parent 7aff48d commit 5141c9f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packages/nx/src/tasks-runner/tasks-schedule.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,12 @@ export class TasksSchedule {
196196

197197
for (const dep of this.reverseTaskDeps[task.id]) {
198198
const depTask = this.taskGraph.tasks[dep];
199-
this.processTaskForBatches(batches, depTask, rootExecutorName, false);
199+
await this.processTaskForBatches(
200+
batches,
201+
depTask,
202+
rootExecutorName,
203+
false
204+
);
200205
}
201206
}
202207

0 commit comments

Comments
 (0)