From d45601fdc6a6fac755143260e562dcabae6954ac Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 29 Jun 2023 00:18:23 +0200 Subject: [PATCH] build: missing newline when printing build details on error Signed-off-by: CrazyMax --- util/desktop/desktop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/desktop/desktop.go b/util/desktop/desktop.go index 6ddf74a5..7fa4ee6d 100644 --- a/util/desktop/desktop.go +++ b/util/desktop/desktop.go @@ -81,6 +81,6 @@ func (e *ErrorWithBuildRef) Print(w io.Writer) error { if _, err := console.ConsoleFromFile(os.Stderr); err == nil { term = true } - fmt.Fprintf(w, "\n%s", BuildDetailsOutput(map[string]string{"default": e.Ref}, term)) + fmt.Fprintf(w, "\n%s\n", BuildDetailsOutput(map[string]string{"default": e.Ref}, term)) return nil }