Skip to content

Commit 5a6cd3c

Browse files
committed
chore: remove golang.org/x/exp/maps
1 parent 05a67d4 commit 5a6cd3c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: pkg/lint/runner.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ import (
44
"context"
55
"errors"
66
"fmt"
7+
"maps"
78
"runtime/debug"
89
"strings"
910

10-
"golang.org/x/exp/maps"
11-
1211
"github.com/golangci/golangci-lint/internal/errorutil"
1312
"github.com/golangci/golangci-lint/pkg/config"
1413
"github.com/golangci/golangci-lint/pkg/fsutils"
@@ -74,7 +73,7 @@ func NewRunner(log logutils.Log, cfg *config.Config, args []string, goenv *gouti
7473
}
7574

7675
var enabledFormatters []string
77-
for _, name := range maps.Keys(enabledLinters) {
76+
for name := range maps.Keys(enabledLinters) {
7877
if goformatters.IsFormatter(name) {
7978
enabledFormatters = append(enabledFormatters, name)
8079
}

0 commit comments

Comments
 (0)