Skip to content

Commit

Permalink
Use lower-case supplier name when namspace base uri is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyskoedijk committed Nov 4, 2024
1 parent 350373f commit 85f9c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task/utils/spdx/sbomTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class SbomTool {
if (args.packageNamespaceUriBase) {
sbomToolArguments.push('-nsb', args.packageNamespaceUriBase);
} else {
sbomToolArguments.push('-nsb', `https://${args.packageSupplier}.com`);
sbomToolArguments.push('-nsb', `https://${args.packageSupplier.toLowerCase()}.com`);
}
if (args.packageNamespaceUriUniquePart) {
sbomToolArguments.push('-nsu', args.packageNamespaceUriUniquePart);
Expand Down

0 comments on commit 85f9c89

Please sign in to comment.