Commit bb5b12d7 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

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

parent c6c04ef9
......@@ -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())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment