mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
Parse Python licenses from LicenseFile entry in the Wheel Metadata (#2331)
Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>
This commit is contained in:
@@ -32,7 +32,7 @@ func parseWheelOrEgg(resolver file.Resolver, _ *generic.Environment, reader file
|
||||
return nil, nil, nil
|
||||
}
|
||||
|
||||
pkgs := []pkg.Package{newPackageForPackage(*pd, sources...)}
|
||||
pkgs := []pkg.Package{newPackageForPackage(resolver, *pd, sources...)}
|
||||
|
||||
return pkgs, nil, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user