command/build: output <nothing> properly if no artifact

pull/24/head
Mitchell Hashimoto 13 years ago
parent 7dbe330099
commit 214d679e2d

@ -244,7 +244,7 @@ func (c Command) Run(env packer.Environment, args []string) int {
if artifact != nil {
fmt.Fprintf(&message, artifact.String())
} else {
fmt.Print("<nothing>")
fmt.Fprint(&message, "<nothing>")
}
env.Ui().Say(message.String())

Loading…
Cancel
Save