Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
Fix node detection
Browse files Browse the repository at this point in the history
  • Loading branch information
cdupuis committed Jan 24, 2023
1 parent 89e7b65 commit 92e3943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbom/detect/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func nodePackageDetector() PackageDetector {
}
filter := func(purl string) bool {
pkg, _ := types.ToPackageUrl(purl)
return pkg.Name == "nodejs" || pkg.Name == "node"
return pkg.Name == "nodejs"
}
return stringsNodeDetector("node", "NODE_VERSION", expr, pkg, filter)
}

0 comments on commit 92e3943

Please sign in to comment.