chore: remove period in short sentences
This commit is contained in:
parent
d8cead75b4
commit
5c6915ad36
|
@ -73,7 +73,7 @@ func (*Diff) Run(results []stage.ExecutorResult, confAny any) (
|
||||||
forceQuit = true
|
forceQuit = true
|
||||||
}
|
}
|
||||||
comment += conf.FailComment
|
comment += conf.FailComment
|
||||||
comment += fmt.Sprintf("Difference found in `%s`.\n",
|
comment += fmt.Sprintf("Difference found in `%s`\n",
|
||||||
output.FileName)
|
output.FileName)
|
||||||
if !output.AlwaysHide {
|
if !output.AlwaysHide {
|
||||||
// Convert answer to string and split by lines
|
// Convert answer to string and split by lines
|
||||||
|
|
|
@ -21,7 +21,7 @@ func Parse(executorResult stage.ExecutorResult, conf Conf) (stage.ParserResult,
|
||||||
return stage.ParserResult{
|
return stage.ParserResult{
|
||||||
Score: 0,
|
Score: 0,
|
||||||
Comment: fmt.Sprintf(
|
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,
|
executorResult.Status, stdout, stderr,
|
||||||
),
|
),
|
||||||
}, true
|
}, true
|
||||||
|
|
|
@ -62,7 +62,7 @@ func (*ResultDetail) Run(results []stage.ExecutorResult, confAny any) (
|
||||||
}
|
}
|
||||||
comment += fmt.Sprintf("```\n%s\n```\n", content)
|
comment += fmt.Sprintf("```\n%s\n```\n", content)
|
||||||
} else {
|
} else {
|
||||||
comment += "Not found.\n"
|
comment += "Not found\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
res = append(res, stage.ParserResult{
|
res = append(res, stage.ParserResult{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user