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

This commit is contained in:
Mitchell Hashimoto 2015-06-04 16:25:14 +02:00
parent e8b7c10025
commit 793698f8a7
1 changed files with 1 additions and 0 deletions

View File

@ -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)