From 793698f8a7e398c3177d3d031bcd456556b89a6b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 4 Jun 2015 16:25:14 +0200 Subject: [PATCH] command/build: skip nil builds [GH-2163] --- command/build.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/build.go b/command/build.go index fbadd6dab..7a035a883 100644 --- a/command/build.go +++ b/command/build.go @@ -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)