builder/dockerfile/dispatchers_windows.go
Function resolveCmdLine
has 5 return statements (exceeds 4 allowed). Open
Open
func resolveCmdLine(cmd instructions.ShellDependantCmdLine, runConfig *container.Config, os, command, original string) ([]string, bool) {
// Make sure we return an empty array if there is no cmd.CmdLine
if len(cmd.CmdLine) == 0 {
return []string{}, runConfig.ArgsEscaped
}