Skip to content

Commit

Permalink
Add extra documentation to vulnerabilitiesFoundErr
Browse files Browse the repository at this point in the history
  • Loading branch information
another-rex committed Nov 27, 2023
1 parent caba069 commit 621291b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/osvscanner/osvscanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ type ExperimentalScannerActions struct {
//nolint:errname,stylecheck // Would require version major bump to change
var NoPackagesFoundErr = errors.New("no packages found in scan")

// VulnerabilitiesFoundErr includes both vulnerabilities being found or license violations being found,
// however, will not be raised if only uncalled vulnerabilities are found.
//
//nolint:errname,stylecheck // Would require version major bump to change
var VulnerabilitiesFoundErr = errors.New("vulnerabilities found")

Expand Down

0 comments on commit 621291b

Please sign in to comment.