diff --git a/cmd/govulncheck/test_utils.go b/cmd/govulncheck/test_utils.go index 0caab89..2043e24 100644 --- a/cmd/govulncheck/test_utils.go +++ b/cmd/govulncheck/test_utils.go @@ -118,7 +118,7 @@ func loadConfig(path string) (*config, error) { if err := json.Unmarshal(b, &cfg); err != nil { return nil, err } - for i, _ := range cfg.Fixups { + for i := range cfg.Fixups { cfg.Fixups[i].init() } return &cfg, nil