Skip to content

Commit 2097058

Browse files
committed
fix: non-constant format string in call to fmt.Fprintf
1 parent 57bda4c commit 2097058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command/watch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func doWatch(ctx *cli.Context) {
134134
fmt.Fprint(msgData, output)
135135
fmt.Fprintln(msgData, "== END NEW OUTPUT ==")
136136
case "short":
137-
fmt.Fprintf(msgData, output)
137+
fmt.Fprint(msgData, output)
138138
}
139139

140140
msgString := msgData.String()

0 commit comments

Comments
 (0)