diff options
Diffstat (limited to 'internal/vuln/vulns.go')
| -rw-r--r-- | internal/vuln/vulns.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/vuln/vulns.go b/internal/vuln/vulns.go index 2d944e60..19700b7f 100644 --- a/internal/vuln/vulns.go +++ b/internal/vuln/vulns.go @@ -184,7 +184,7 @@ func AffectedComponents(e *osv.Entry) (pkgs, modsNoPkgs []*AffectedComponent) { func affectedSymbols(in []string) (e, u []string) { for _, s := range in { exported := true - for _, part := range strings.Split(s, ".") { + for part := range strings.SplitSeq(s, ".") { if !token.IsExported(part) { exported = false // exported only if all parts of the symbol name are exported. } |
