Skip to content

Commit 5d3a629

Browse files
committed
chore: fix constant format string
Downstream tests run go vet and this errors about the non-constant format string being used here. Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
1 parent baf0c22 commit 5d3a629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/progress/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func runOSBuildWithProgress(pb ProgressBar, manifest []byte, exports []string, o
186186
}
187187
// forward to user
188188
if st.Message != "" {
189-
pb.SetMessagef(st.Message)
189+
pb.SetMessagef("%s", st.Message)
190190
}
191191

192192
// keep internal log for error reporting, forward to

0 commit comments

Comments
 (0)