|
|
@ -208,7 +208,7 @@ async function connect() { |
|
|
|
judge_state.result = convertedResult.result; |
|
|
|
judge_state.result = convertedResult.result; |
|
|
|
await judge_state.save(); |
|
|
|
await judge_state.save(); |
|
|
|
await judge_state.updateRelatedInfo(false); |
|
|
|
await judge_state.updateRelatedInfo(false); |
|
|
|
} else if (result.type == interface.ProgressReportType.Compiled) { |
|
|
|
} else if (result.type === interface.ProgressReportType.Compiled) { |
|
|
|
if (!judge_state) return; |
|
|
|
if (!judge_state) return; |
|
|
|
judge_state.compilation = result.progress; |
|
|
|
judge_state.compilation = result.progress; |
|
|
|
await judge_state.save(); |
|
|
|
await judge_state.save(); |
|
|
|