feat: refactor cli parsing #2802
Annotations
8 errors and 1 warning
golangci-lint - windows:
cmd/finch/nerdctl_remote.go#L43
appendAssign: append result not assigned to the same slice (gocritic)
|
golangci-lint - windows:
cmd/finch/nerdctl_remote.go#L70
appendAssign: append result not assigned to the same slice (gocritic)
|
golangci-lint - windows:
cmd/finch/nerdctl_remote.go#L165
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint - windows:
cmd/finch/nerdctl_remote.go#L184
(*nerdctlCommand).handleEnvFileArg - result 0 (error) is always nil (unparam)
|
golangci-lint - windows:
cmd/finch/nerdctl_remote.go#L240
(*nerdctlCommand).processEnvFile - result 1 (error) is always nil (unparam)
|
golangci-lint - windows:
cmd/finch/nerdctl_remote.go#L143
type assertion must be checked (forcetypeassert)
|
golangci-lint - windows:
cmd/finch/nerdctl_remote.go#L150
type assertion must be checked (forcetypeassert)
|
golangci-lint - windows
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading