Skip to content

Commit

Permalink
touch up comments after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Will Murphy <will.murphy@anchore.com>
  • Loading branch information
willmurphyscode committed Aug 18, 2023
1 parent caa6941 commit 4ce2f82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions grype/pkg/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,8 @@ func excludePackage(comprehensiveDistroFeed bool, p pkg.Package, parent pkg.Pack
return true
}

// filter out only binary pkg
// filter out binary packages, even for non-comprehensive distros
if p.Type != pkg.BinaryPkg {
// when I fix the version info, I think this one will exclude it.
return false
}

Expand Down

0 comments on commit 4ce2f82

Please sign in to comment.