Skip to content

Commit

Permalink
Merge pull request #281 from SettleTop-Inc/supplier-name-count-fix
Browse files Browse the repository at this point in the history
Supplier count bug
  • Loading branch information
riteshnoronha committed Jul 5, 2024
2 parents f930430 + a21a2b8 commit 634b36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sbom/cdx.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ func (c *cdxDoc) assignSupplier(comp *cydx.Component) *Supplier {

supplier := Supplier{}

if comp.Supplier.Name == "" {
if comp.Supplier.Name != "" {
supplier.Name = comp.Supplier.Name
}

Expand Down

0 comments on commit 634b36d

Please sign in to comment.