Skip to content

Commit

Permalink
Fix system error caused by async function without await (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntaresQAQ authored Oct 4, 2023
1 parent c6e0531 commit a8c7fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runner/judge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ export async function judgeStandard(task: StandardRunTask)
}
}
} finally {
tryEmptyDir(workingDir);
tryEmptyDir(spjWorkingDir);
await tryEmptyDir(workingDir);
await tryEmptyDir(spjWorkingDir);
}
}

Expand Down

0 comments on commit a8c7fcf

Please # to comment.