feat(report): export exitcode for license checks (#2564)

Also export the exit code for license checks 
fixes #2562
This commit is contained in:
Alexander Lauster
2022-07-25 13:26:12 +02:00
committed by GitHub
parent f9be138aab
commit d93a997800

View File

@@ -114,6 +114,9 @@ func (results Results) Failed() bool {
if len(r.Secrets) > 0 {
return true
}
if len(r.Licenses) > 0 {
return true
}
}
return false
}