fix: Improve CLI parsing for Image Args #2360
Annotations
9 errors
cmd/finch/nerdctl.go#L358
appendAssign: append result not assigned to the same slice (gocritic)
|
cmd/finch/nerdctl.go#L426
wrapperFunc: suggestion: flagKey, flagVal, _ = strings.Cut(arg, "=") (gocritic)
|
cmd/finch/nerdctl.go#L437
wrapperFunc: suggestion: flagKey, flagVal, _ = strings.Cut(arg, "=") (gocritic)
|
cmd/finch/nerdctl.go#L418
`arguements` is a misspelling of `arguments` (misspell)
|
cmd/finch/nerdctl.go#L417
unused-parameter: parameter 'systemDeps' seems to be unused, consider removing or renaming it as _ (revive)
|
cmd/finch/nerdctl.go#L410
func `argIsEnv` is unused (unused)
|
cmd/finch/nerdctl.go#L199
S1023: redundant break statement (gosimple)
|
cmd/finch/nerdctl.go#L305
S1023: redundant break statement (gosimple)
|
|
This job failed
Loading