Skip to content

Commit

Permalink
visualize the packagename in warning better
Browse files Browse the repository at this point in the history
  • Loading branch information
cschneemann committed May 14, 2024
1 parent 08df9ce commit 98fb9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_sbom
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ sub map_license {
} elsif (defined $license_mapping->{$license}) {
$license = $license_mapping->{$license};
} else {
warn("SPDX-License-Mapping: License for package $pkg not found in mapping: $license\n");
warn("SPDX-License-Mapping: License for package \"$pkg\" not found in mapping: $license\n");
$license = "NOASSERTION";
}
if ( $license =~ /NOASSERTION/) {
Expand Down

0 comments on commit 98fb9d8

Please sign in to comment.