From f4662eb123f0837235637d51ca98fc7233243d60 Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Sat, 12 Oct 2024 17:41:08 -0400 Subject: [PATCH] fix(parser/resultdetail): file format --- internal/parser/resultdetail/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/parser/resultdetail/parser.go b/internal/parser/resultdetail/parser.go index 8bdb026..5222d28 100644 --- a/internal/parser/resultdetail/parser.go +++ b/internal/parser/resultdetail/parser.go @@ -47,7 +47,7 @@ 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("```\n%s\n```\n", content) } else {