Skip to content

Commit

Permalink
fix: empty ecosyste.ms repository url (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrosca-snyk authored Aug 22, 2024
1 parent 0ea7ec6 commit f5fed05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scorecard/enrich_cyclonedx.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func enrichCDX(bom *cdx.BOM) {
return
}

if resp.JSON200 == nil || resp.JSON200.RepositoryUrl == nil {
if resp.JSON200 == nil || resp.JSON200.RepositoryUrl == nil || *resp.JSON200.RepositoryUrl == "" {
return
}

Expand Down

0 comments on commit f5fed05

Please sign in to comment.