Skip to content

Commit

Permalink
Don't touch the version on gen_purl
Browse files Browse the repository at this point in the history
  • Loading branch information
josegomezr committed Nov 22, 2024
1 parent de4875b commit 537b21a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion generate_sbom
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,6 @@ sub gen_purl {
my ($p, $distro, $pkgtype) = @_;
my $name = $p->{'NAME'};
my $vr = $p->{'VERSION'};
$vr =~ s/^go//;
my $purltype = $pkgtype eq 'rust' ? 'cargo' : $pkgtype;
my $subpath;
if ($pkgtype eq 'golang' && $name =~ /\A([^\/]+\/[^\/]+\/[^\/]+)\/(.+)/s) {
Expand Down

0 comments on commit 537b21a

Please sign in to comment.