Do not use Fprintf, use Fprint.
This commit is contained in:
parent
d0ddf34e6e
commit
ad3d674919
|
@ -231,7 +231,7 @@ func (c BuildCommand) Run(args []string) int {
|
||||||
fmt.Fprintf(&message, "--> %s: ", name)
|
fmt.Fprintf(&message, "--> %s: ", name)
|
||||||
|
|
||||||
if artifact != nil {
|
if artifact != nil {
|
||||||
fmt.Fprintf(&message, artifact.String())
|
fmt.Fprint(&message, artifact.String())
|
||||||
} else {
|
} else {
|
||||||
fmt.Fprint(&message, "<nothing>")
|
fmt.Fprint(&message, "<nothing>")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue