Skip to content

Commit f5fed05

Browse files
fix: empty ecosyste.ms repository url (#75)
1 parent 0ea7ec6 commit f5fed05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/scorecard/enrich_cyclonedx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func enrichCDX(bom *cdx.BOM) {
6262
return
6363
}
6464

65-
if resp.JSON200 == nil || resp.JSON200.RepositoryUrl == nil {
65+
if resp.JSON200 == nil || resp.JSON200.RepositoryUrl == nil || *resp.JSON200.RepositoryUrl == "" {
6666
return
6767
}
6868

0 commit comments

Comments
 (0)