mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 07:38:42 +00:00
fix(remote_judger): status reporting
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
da02425215
commit
5531233763
@ -237,7 +237,7 @@ export default class CodeforcesProvider implements IBasicProvider {
|
||||
end
|
||||
) {
|
||||
if (!(await this.ensureLogin())) {
|
||||
end({
|
||||
await end({
|
||||
error: true,
|
||||
status: 'Judgment Failed',
|
||||
message: 'Login failed',
|
||||
|
@ -208,7 +208,7 @@ export default class LuoguProvider implements IBasicProvider {
|
||||
end
|
||||
) {
|
||||
if (!(await this.ensureLogin())) {
|
||||
end({
|
||||
await end({
|
||||
error: true,
|
||||
status: 'Judgment Failed',
|
||||
message: 'Login failed',
|
||||
@ -218,7 +218,7 @@ export default class LuoguProvider implements IBasicProvider {
|
||||
}
|
||||
|
||||
if (code.length < 10) {
|
||||
end({
|
||||
await end({
|
||||
error: true,
|
||||
status: 'Compile Error',
|
||||
message: 'Code too short',
|
||||
|
Loading…
Reference in New Issue
Block a user