fix(parser/resultdetail): add extra newline when showing files
This commit is contained in:
parent
2a2166f1ad
commit
703ff7d4be
|
@ -49,7 +49,7 @@ func (*ResultDetail) Run(results []stage.ExecutorResult, confAny any) (
|
|||
content, ok := result.Files[file]
|
||||
comment += fmt.Sprintf("File: `%s`.\n", file)
|
||||
if ok {
|
||||
comment += fmt.Sprintf("```%s```\n", content)
|
||||
comment += fmt.Sprintf("```%s\n```\n", content)
|
||||
} else {
|
||||
comment += "Not found.\n"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user