Skip to content

Commit 554db76

Browse files
committed
🐛 Fix latent reference to BomComponent without namespace
Signed-off-by: Peter H. Boling <[email protected]>
1 parent d059d79 commit 554db76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cyclonedx/bom_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def build_json_bom(gems, spec_version, include_metadata: false, include_enrichme
9595
end
9696

9797
gems.each do |gem|
98-
bom_hash[:components] += BomComponent.new(gem).hash_val(include_enrichment: include_enrichment)
98+
bom_hash[:components] += Cyclonedx::BomComponent.new(gem).hash_val(include_enrichment: include_enrichment)
9999
end
100100

101101
JSON.pretty_generate(bom_hash)

0 commit comments

Comments
 (0)