We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e322a3 commit 55d2288Copy full SHA for 55d2288
internal/report/lint.go
@@ -385,9 +385,6 @@ func (r *Report) Lint(filename string) []string {
385
} else if !slices.Contains(ExcludedReasons, r.Excluded) {
386
addIssue(fmt.Sprintf("excluded (%q) is not in set %v", r.Excluded, ExcludedReasons))
387
}
388
- if len(r.Modules) != 0 {
389
- addIssue("excluded report should not have modules")
390
- }
391
if len(r.CVEs) == 0 && len(r.GHSAs) == 0 {
392
addIssue("excluded report must have at least one associated CVE or GHSA")
393
0 commit comments