command/validate: bail if can't initialize build [GH-2139]
This commit is contained in:
parent
f1aad91f26
commit
c49fe672b3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue