diff --git a/internal/parser/resultdetail/parser.go b/internal/parser/resultdetail/parser.go index a8a24e0..8bdb026 100644 --- a/internal/parser/resultdetail/parser.go +++ b/internal/parser/resultdetail/parser.go @@ -47,9 +47,9 @@ func (*ResultDetail) Run(results []stage.ExecutorResult, confAny any) ( } for _, file := range conf.ShowFiles { content, ok := result.Files[file] - comment += fmt.Sprintf("File: `%s`.\n", file) + comment += fmt.Sprintf("File: `%s`:\n", file) if ok { - comment += fmt.Sprintf("```%s\n```\n", content) + comment += fmt.Sprintf("```\n%s\n```\n", content) } else { comment += "Not found.\n" }