Skip to content

Commit

Permalink
fixed supplier count bug
Browse files Browse the repository at this point in the history
  • Loading branch information
briancaine committed Jul 5, 2024
1 parent f930430 commit a21a2b8
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 a21a2b8

Please sign in to comment.