Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit401b927

Browse files
authored
1 parent5c1dc1b commit401b927

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cli/cliui/log.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func (m cliMessage) String() string {
3535
// Warn writes a log to the writer provided.
3636
funcWarn(wtr io.Writer,headerstring,lines...string) {
3737
_,_=fmt.Fprint(wtr,cliMessage{
38-
Style:Styles.Warn,
38+
Style:Styles.Warn.Copy(),
3939
Prefix:"WARN: ",
4040
Header:header,
4141
Lines:lines,
@@ -63,7 +63,7 @@ func Infof(wtr io.Writer, fmtStr string, args ...interface{}) {
6363
// Error writes a log to the writer provided.
6464
funcError(wtr io.Writer,headerstring,lines...string) {
6565
_,_=fmt.Fprint(wtr,cliMessage{
66-
Style:Styles.Error,
66+
Style:Styles.Error.Copy(),
6767
Prefix:"ERROR: ",
6868
Header:header,
6969
Lines:lines,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp