mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
chore: fix conan parser typos (#3802)
Signed-off-by: Musang <s.musang.kim@gmail.com>
This commit is contained in:
parent
1e336e3f07
commit
1866e25f9a
@ -47,14 +47,14 @@ func parseConanLock(_ context.Context, _ file.Resolver, _ *generic.Environment,
|
||||
// in a second iteration
|
||||
var indexToPkgMap = map[string]pkg.Package{}
|
||||
|
||||
v1Pkgs := handleConanLockV2(cl, reader, indexToPkgMap)
|
||||
v2Pkgs := handleConanLockV2(cl, reader, indexToPkgMap)
|
||||
|
||||
// we do not want to store the index list requires in the conan metadata, because it is not useful to have it in
|
||||
// the SBOM. Instead, we will store it in a map and then use it to build the relationships
|
||||
// maps pkg.ID to a list of indices
|
||||
var parsedPkgRequires = map[artifact.ID][]string{}
|
||||
|
||||
v2Pkgs := handleConanLockV1(cl, reader, parsedPkgRequires, indexToPkgMap)
|
||||
v1Pkgs := handleConanLockV1(cl, reader, parsedPkgRequires, indexToPkgMap)
|
||||
|
||||
var relationships []artifact.Relationship
|
||||
var pkgs []pkg.Package
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user