From a87cc86aa603726cd8f54aa4784214a1c2ec77d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?AoMe=20=C2=B7=20=E9=9D=92=E7=9B=AE?= <71392160+AlejandroSuero@users.noreply.github.com> Date: Sun, 8 Sep 2024 15:25:00 +0200 Subject: [PATCH] feat: use `Println` Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com> --- error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/error.go b/error.go index 8796ef0..a0d947d 100644 --- a/error.go +++ b/error.go @@ -15,7 +15,7 @@ func printError(title string, err error) { fmt.Printf("%s\n", lipgloss.JoinHorizontal(lipgloss.Center, errorHeader.String(), title)) splittedError := strings.Split(err.Error(), "\n") for _, line := range splittedError { - fmt.Printf("%s\n", errorDetails.Render(line)) + fmt.Println(errorDetails.Render(line)) } }