From c0aebb21a02dd38aed13609baac0cbaee0cb896d Mon Sep 17 00:00:00 2001 From: Roberth Strand Date: Fri, 31 Mar 2023 11:23:35 +0200 Subject: [PATCH] refactor: added newline to explanation The newline at the end of the explanation will make is so that the wall of text that you get with several issues get a bit of space. This does not effect the JSON output, only the regular output. closes #101 Signed-off-by: Roberth Strand --- cmd/analyze/analyze.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/analyze/analyze.go b/cmd/analyze/analyze.go index 028a497619..2f885f3339 100644 --- a/cmd/analyze/analyze.go +++ b/cmd/analyze/analyze.go @@ -144,7 +144,7 @@ var AnalyzeCmd = &cobra.Command{ for _, err := range analysis.Error { fmt.Printf("- %s %s\n", color.RedString("Error:"), color.RedString(err)) } - color.GreenString(analysis.Details) + color.GreenString(analysis.Details + "\n") } } },