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 { | 		for _, file := range conf.ShowFiles { | ||||||
| 			content, ok := result.Files[file] | 			content, ok := result.Files[file] | ||||||
| 			comment += fmt.Sprintf("File: `%s`:\n", file) | 			comment += fmt.Sprintf("File `%s`:\n", file) | ||||||
| 			if ok { | 			if ok { | ||||||
| 				comment += fmt.Sprintf("```\n%s\n```\n", content) | 				comment += fmt.Sprintf("```\n%s\n```\n", content) | ||||||
| 			} else { | 			} else { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user