Skip to content

Commit

Permalink
Don't set language to dotnet for PEs
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
  • Loading branch information
luhring committed Jul 18, 2023
1 parent 9711c00 commit 368313f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ func parseDotnetPortableExecutable(_ file.Resolver, _ *generic.Environment, f fi
Name: name,
Version: version,
Locations: file.NewLocationSet(f.Location),
Language: pkg.Dotnet,
Type: pkg.DotnetPkg,
PURL: purl,
MetadataType: pkg.DotnetPortableExecutableMetadataType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ func TestParseDotnetPortableExecutable(t *testing.T) {
Name: "System.Buffers",
Version: "7.0.923.36201",
Locations: fixtureLocationSet,
Language: pkg.Dotnet,
Type: pkg.DotnetPkg,
PURL: "pkg:nuget/System.Buffers@7.0.923.36201",
MetadataType: pkg.DotnetPortableExecutableMetadataType,
Expand Down

0 comments on commit 368313f

Please sign in to comment.