Fix lint warnings (#4586)

go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
This commit is contained in:
phanium authored and GitHub committed 2025-11-12 22:05:17 +09:00
1 parent b9f2bf64ff
commit 91fab3b3c2
13 files changed
+34 -35

No files matched your search

+1 -1
View File
@@ -502,7 +502,7 @@ func Run(opts *Options) (int, error) {
return item.acceptNth(opts.Ansi, opts.Delimiter, fn)
}
}
for i := 0; i < count; i++ {
for i := range count {
opts.Printer(transformer(merger.Get(i).item))
}
if count == 0 {