Skip to content

Commit bb3015e

Browse files
committed
chore: tidy
1 parent 7f53930 commit bb3015e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

error.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ var (
1313
)
1414

1515
func printError(title string, err error) {
16-
fmt.Printf("%s\n", lipgloss.JoinHorizontal(lipgloss.Center, errorHeader.String(), title))
17-
rendered := errorDetails.Render(err.Error())
18-
fmt.Println(rendered)
19-
fmt.Printf("%s\n", rendered)
16+
fmt.Println(lipgloss.JoinHorizontal(lipgloss.Center, errorHeader.String(), title))
17+
fmt.Println(errorDetails.Render(err.Error()))
2018
}
2119

2220
func printErrorFatal(title string, err error) {

0 commit comments

Comments
 (0)