Skip to content

Commit a3c55bb

Browse files
committed
More tweaks
1 parent 715f8e6 commit a3c55bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/evals/src/cli/runEvals.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ export const runEvals = async (runId: number) => {
4242
await queue.addAll(
4343
tasks
4444
.filter((task) => task.finishedAt === null)
45-
.map((task) => () => {
45+
.map((task) => async () => {
4646
try {
4747
if (containerized) {
48-
processTaskInContainer({ taskId: task.id, logger })
48+
await processTaskInContainer({ taskId: task.id, logger })
4949
} else {
50-
processTask({ taskId: task.id, logger })
50+
await processTask({ taskId: task.id, logger })
5151
}
5252
} catch (error) {
5353
logger.error("error processing task", error)

0 commit comments

Comments
 (0)