Skip to content

Commit

Permalink
feat: use Println
Browse files Browse the repository at this point in the history
Co-authored-by: ccoVeille <[email protected]>
  • Loading branch information
AlejandroSuero and ccoVeille authored Sep 8, 2024
1 parent 001b55f commit a87cc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}

Expand Down

0 comments on commit a87cc86

Please sign in to comment.