Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceMacBuche committed Jun 11, 2024
1 parent f05a06c commit 0406909
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gost/microsoft.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ func (ms Microsoft) DetectCVEs(r *models.ScanResult, _ bool) (nCVEs int, err err

for _, unap := range unapplied {
var superSed []string
superSed = nil
_, superSed, err = ms.driver.GetExpandKB(nil, []string{unap})
_, superSed, _ = ms.driver.GetExpandKB(nil, []string{unap})
for _, supers := range superSed {
supersedMap[supers] = append(supersedMap[supers], unap)
}
Expand Down

0 comments on commit 0406909

Please sign in to comment.