Skip to content

Commit

Permalink
fix(be): add condition for compile-error when run test (#2102)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaehyeon1020 authored and mnseok committed Nov 12, 2024
1 parent 7c89f7c commit c196b16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class SubmissionSubscriptionService implements OnModuleInit {
>(key)) ?? []

testcases.forEach((tc) => {
if (tc.id === testcaseId) {
if (!testcaseId || tc.id === testcaseId) {
tc.result = status
}
})
Expand Down

0 comments on commit c196b16

Please sign in to comment.