Skip to content

Commit

Permalink
feat(report): export exitcode for license checks (aquasecurity#2564)
Browse files Browse the repository at this point in the history
Also export the exit code for license checks 
fixes aquasecurity#2562
  • Loading branch information
computeralex92 authored Jul 25, 2022
1 parent f9be138 commit d93a997
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/types/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit d93a997

Please sign in to comment.