We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfd45aa commit 71e5b83Copy full SHA for 71e5b83
utils/results/conversion/simplejsonparser/simplejsonparser.go
@@ -101,7 +101,7 @@ func (sjc *CmdResultsSimpleJsonConverter) ParseSbomLicenses(components []cyclone
101
}
102
compName, compVersion, compType := techutils.SplitPackageURL(component.PackageURL)
103
for _, license := range *component.Licenses {
104
- if license.License == nil && license.License.Name == "" {
+ if license.License == nil || license.License.Name == "" {
105
// No license name found, continue to the next one
106
continue
107
0 commit comments