fix(parser/resultdetail): file format
This commit is contained in:
parent
7004c5368e
commit
f4662eb123
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user