Skip to content

Commit

Permalink
internal: removes unused helper function isCVE
Browse files Browse the repository at this point in the history
I guess this was attempted to be used here: https://github.com/vrnvu/vulndb/blob/b776e182e6934a1e7bcab96f018f1b26ee3f3f52/internal/ghsa/ghsa.go#L206

Change-Id: Ie9fd51079210dbb653c483b48c0dd27ac2f12165
GitHub-Last-Rev: b776e18
GitHub-Pull-Request: #1116
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/452295
Reviewed-by: Cherry Mui <[email protected]>
Reviewed-by: Damien Neil <[email protected]>
Reviewed-by: Tatiana Bradley <[email protected]>
Run-TryBot: Tatiana Bradley <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
  • Loading branch information
vrnvu authored and Tatiana Bradley committed Nov 22, 2022
1 parent 2612031 commit b484d03
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions internal/ghsa/ghsa.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,3 @@ func FetchGHSA(ctx context.Context, accessToken, ghsaID string) (_ *SecurityAdvi

return query.SA.securityAdvisory()
}

func isCVE(ids []Identifier) bool {
for _, id := range ids {
if id.Type == "CVE" {
return true
}
}
return false
}

0 comments on commit b484d03

Please sign in to comment.