chore: remove period in short sentences
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (push) Has been cancelled
submodules sync / sync (push) Has been cancelled

This commit is contained in:
张泊明518370910136 2024-11-10 01:01:10 -05:00
parent d8cead75b4
commit 5c6915ad36
GPG Key ID: D47306D7062CDA9D
3 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ func (*Diff) Run(results []stage.ExecutorResult, confAny any) (
forceQuit = true
}
comment += conf.FailComment
comment += fmt.Sprintf("Difference found in `%s`.\n",
comment += fmt.Sprintf("Difference found in `%s`\n",
output.FileName)
if !output.AlwaysHide {
// Convert answer to string and split by lines

View File

@ -21,7 +21,7 @@ func Parse(executorResult stage.ExecutorResult, conf Conf) (stage.ParserResult,
return stage.ParserResult{
Score: 0,
Comment: fmt.Sprintf(
"Unexpected executor status: %s.\n`stdout`:\n```%s\n```\n`stderr`:\n```%s\n```",
"Unexpected executor status: `%s`\n`stdout`:\n```%s\n```\n`stderr`:\n```%s\n```",
executorResult.Status, stdout, stderr,
),
}, true

View File

@ -62,7 +62,7 @@ func (*ResultDetail) Run(results []stage.ExecutorResult, confAny any) (
}
comment += fmt.Sprintf("```\n%s\n```\n", content)
} else {
comment += "Not found.\n"
comment += "Not found\n"
}
}
res = append(res, stage.ParserResult{