Let the commands store flagComp functions internally (and avoid global state) #870
Annotations
25 errors and 1 warning
ubuntu | 1.17.x:
completions.go#L196
cannot use make(map[*pflag.Flag]func(*Command, []string, string) ([]string, ShellCompDirective), 0) (type map[*pflag.Flag]func(*Command, []string, string) ([]string, ShellCompDirective)) as type map[*pflag.Flag]func(*Command, []string, string) ([]string, ShellCompDirective) in assignment
|
ubuntu | 1.17.x:
completions.go#L196
completionFn is not a type
|
ubuntu | 1.17.x
Process completed with exit code 2.
|
golangci-lint
Cannot open: File exists
|
golangci-lint
Cannot open: File exists
|
golangci-lint
Cannot open: File exists
|
golangci-lint
Cannot open: File exists
|
golangci-lint
Cannot open: File exists
|
golangci-lint
Cannot open: File exists
|
golangci-lint
Cannot open: File exists
|
golangci-lint
Cannot open: File exists
|
golangci-lint
Cannot open: File exists
|
golangci-lint
Cannot open: File exists
|
ubuntu | 1.19.x
Process completed with exit code 2.
|
ubuntu | 1.21.x
Process completed with exit code 2.
|
ubuntu | 1.20.x
Process completed with exit code 2.
|
ubuntu | 1.18.x
Process completed with exit code 2.
|
macOS | 1.20.x
Process completed with exit code 2.
|
macOS | 1.21.x
Process completed with exit code 2.
|
macOS | 1.17.x:
completions.go#L196
cannot use make(map[*pflag.Flag]func(*Command, []string, string) ([]string, ShellCompDirective), 0) (type map[*pflag.Flag]func(*Command, []string, string) ([]string, ShellCompDirective)) as type map[*pflag.Flag]func(*Command, []string, string) ([]string, ShellCompDirective) in assignment
|
macOS | 1.17.x:
completions.go#L196
completionFn is not a type
|
macOS | 1.17.x
Process completed with exit code 2.
|
macOS | 1.19.x
Process completed with exit code 2.
|
MINGW64
Process completed with exit code 2.
|
macOS | 1.18.x
Process completed with exit code 2.
|
golangci-lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|