Commit c49fe672 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

command/validate: bail if can't initialize build [GH-2139]

parent f1aad91f
......@@ -60,6 +60,7 @@ func (c *ValidateCommand) Run(args []string) int {
c.Ui.Error(fmt.Sprintf(
"Failed to initialize build '%s': %s",
n, err))
return 1
}
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