Skip to content

Commit a36b45a

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

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
@@ -55,7 +55,7 @@ def build_json_bom(gems)
5555
}
5656

5757
gems.each do |gem|
58-
bom_hash[:components] += BomComponent.new(gem).hash_val
58+
bom_hash[:components] += Cyclonedx::BomComponent.new(gem).hash_val
5959
end
6060

6161
JSON.pretty_generate(bom_hash)

0 commit comments

Comments
 (0)