1
0
forked from JOJ/JOJ3

fix(parser/resultstatus): add newline in comment

This commit is contained in:
张泊明518370910136 2024-11-10 00:25:51 -05:00
parent 5bff234939
commit d8cead75b4
Signed by untrusted user: 张泊明518370910136
GPG Key ID: D47306D7062CDA9D

View File

@ -30,7 +30,7 @@ func (*ResultStatus) Run(results []stage.ExecutorResult, confAny any) (
if result.Status != stage.Status(envexec.StatusAccepted) {
score = 0
comment = fmt.Sprintf(
"Unexpected executor status: %s.", result.Status,
"Unexpected executor status: `%s`.\n", result.Status,
)
if conf.ForceQuitOnNotAccepted {
forceQuit = true