Skip to content

Commit

Permalink
chore: remove golang.org/x/exp/maps
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Feb 12, 2025
1 parent c25d053 commit cfe7bdb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/lint/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ import (
"context"
"errors"
"fmt"
"maps"
"runtime/debug"
"strings"

"golang.org/x/exp/maps"

"github.com/golangci/golangci-lint/internal/errorutil"
"github.com/golangci/golangci-lint/pkg/config"
"github.com/golangci/golangci-lint/pkg/fsutils"
Expand Down Expand Up @@ -74,7 +73,7 @@ func NewRunner(log logutils.Log, cfg *config.Config, args []string, goenv *gouti
}

var enabledFormatters []string
for _, name := range maps.Keys(enabledLinters) {
for name := range maps.Keys(enabledLinters) {
if goformatters.IsFormatter(name) {
enabledFormatters = append(enabledFormatters, name)
}
Expand Down

0 comments on commit cfe7bdb

Please sign in to comment.