check: fix the checking of a hierarchy
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
b7724b906b
commit
05f9b75a19
4 changed files with 11 additions and 2 deletions
|
@ -99,6 +99,7 @@ func main() {
|
|||
return
|
||||
}
|
||||
if res != nil && len(res.Failures) > 0 {
|
||||
defer os.Exit(1)
|
||||
for _, failure := range res.Failures {
|
||||
fmt.Println(failure)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue