Commit 793698f8 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

command/build: skip nil builds [GH-2163]

parent e8b7c100
...@@ -59,6 +59,7 @@ func (c BuildCommand) Run(args []string) int { ...@@ -59,6 +59,7 @@ func (c BuildCommand) Run(args []string) int {
c.Ui.Error(fmt.Sprintf( c.Ui.Error(fmt.Sprintf(
"Failed to initialize build '%s': %s", "Failed to initialize build '%s': %s",
n, err)) n, err))
continue
} }
builds = append(builds, b) builds = append(builds, b)
......
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