mirror of
https://github.com/anchore/syft.git
synced 2026-10-31 22:46:36 +01:00
cataloger: use ** for glob patterns
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
@@ -13,8 +13,8 @@ type Cataloger struct {
|
||||
|
||||
func NewCataloger() *Cataloger {
|
||||
globParsers := map[string]common.ParserFn{
|
||||
"*egg-info/PKG-INFO": parseEggMetadata,
|
||||
"*dist-info/METADATA": parseWheelMetadata,
|
||||
"**/egg-info/PKG-INFO": parseEggMetadata,
|
||||
"**/dist-info/METADATA": parseWheelMetadata,
|
||||
}
|
||||
|
||||
return &Cataloger{
|
||||
|
||||
Reference in New Issue
Block a user