chore(parser/resultdetail): 9 backticks for code block
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 2025-05-27 05:05:01 -04:00
parent 46f9cdd281
commit 4cc988a511

View File

@ -47,7 +47,7 @@ func (*ResultDetail) Run(results []stage.ExecutorResult, confAny any) (
content = content[:conf.MaxFileLength] + "\n\n(truncated)" content = content[:conf.MaxFileLength] + "\n\n(truncated)"
} }
if conf.FilesInCodeBlock { if conf.FilesInCodeBlock {
comment += fmt.Sprintf("```\n%s\n```\n", content) comment += fmt.Sprintf("`````````\n%s\n`````````\n", content)
} else { } else {
comment += fmt.Sprintf("%s\n", content) comment += fmt.Sprintf("%s\n", content)
} }