Skip to content

Commit

Permalink
fix:GH-1502 name root from package json
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Alvarez Sabin <[email protected]>
  • Loading branch information
ivanasabi committed Dec 18, 2024
1 parent 88aeb33 commit 8e6f724
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2546,6 +2546,7 @@ export async function createNodejsBom(path, options) {
if (pcs.length) {
tmpParentComponent = pcs[0];
tmpParentComponent.type = "application";
tmpParentComponent.name = "project-name" in options ? options.projectName : tmpParentComponent.name;
ppurl = new PackageURL(
"npm",
options.projectGroup || tmpParentComponent.group,
Expand Down

0 comments on commit 8e6f724

Please sign in to comment.