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

Commit 46c11bf

Browse files
committed
Remove new \r
1 parent 29a48c0 commit 46c11bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/clog/clog.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ type CLIError struct {
3535
// String formats the CLI message for consumption by a human.
3636
func (m CLIMessage) String() string {
3737
var str strings.Builder
38-
str.WriteString(fmt.Sprintf("%s: %s\r\n",
38+
str.WriteString(fmt.Sprintf("%s: %s\n",
3939
color.New(m.Color).Sprint(m.Level),
4040
color.New(color.Bold).Sprint(m.Header)),
4141
)
4242
for _, line := range m.Lines {
43-
str.WriteString(fmt.Sprintf(" %s %s\r\n", color.New(m.Color).Sprint("|"), line))
43+
str.WriteString(fmt.Sprintf(" %s %s\n", color.New(m.Color).Sprint("|"), line))
4444
}
4545
return str.String()
4646
}

0 commit comments

Comments
 (0)