Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit a430bb5

Browse files
committed
fixup! More clog additions
1 parent 7a48de0 commit a430bb5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

internal/clog/error.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,20 @@ func Log(err error) {
5252
fmt.Println(cliErr.String())
5353
}
5454

55-
5655
// Info formats according to a format specifier and prints the resulting CLI message.
5756
func Info(format string, args ...interface{}) {
5857
fmt.Println(RichCLIMessage{
59-
Level: "info",
60-
Color: color.FgBlue,
58+
Level: "info",
59+
Color: color.FgBlue,
6160
Header: fmt.Sprintf(format, args...),
6261
}.String())
6362
}
6463

6564
// Success formats according to a format specifier and prints the resulting CLI message.
6665
func Success(format string, args ...interface{}) {
6766
fmt.Println(RichCLIMessage{
68-
Level: "success",
69-
Color: color.FgGreen,
67+
Level: "success",
68+
Color: color.FgGreen,
7069
Header: fmt.Sprintf(format, args...),
7170
}.String())
7271
}

0 commit comments

Comments
 (0)