mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 12:58:40 +00:00
fix(remote_judger/loj): waiting status
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7c30908cf2
commit
7b6354706a
@ -271,6 +271,12 @@ export default class LibreojProvider implements IBasicProvider {
|
|||||||
|
|
||||||
if (error) continue;
|
if (error) continue;
|
||||||
|
|
||||||
|
if (!body.progress) {
|
||||||
|
await next({ status: 'Waiting for Remote Judge' });
|
||||||
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
await next({
|
await next({
|
||||||
status: `${body.progress.progressType}`,
|
status: `${body.progress.progressType}`,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user