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

pull/2178/head
Mitchell Hashimoto 11 years ago
parent e8b7c10025
commit 793698f8a7

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

Loading…
Cancel
Save