Skip to content

Commit

Permalink
Remove useless duplicate import
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlandon committed Nov 2, 2023
1 parent 69578f2 commit 1548134
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions completions.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"sync"

"github.com/spf13/pflag"
flag "github.com/spf13/pflag"
)

const (
Expand Down Expand Up @@ -185,7 +184,7 @@ func (c *Command) initializeCompletionStorage() {
}

if c.flagCompletionFunctions == nil {
c.flagCompletionFunctions = make(map[*flag.Flag]func(cmd *Command, args []string, toComplete string) ([]string, ShellCompDirective), 0)
c.flagCompletionFunctions = make(map[*pflag.Flag]func(cmd *Command, args []string, toComplete string) ([]string, ShellCompDirective), 0)
}
}

Expand Down

0 comments on commit 1548134

Please sign in to comment.