dotcloud/docker

View on GitHub
builder/dockerfile/dispatchers_windows.go

Summary

Maintainability
A
35 mins
Test Coverage

Function resolveCmdLine has 5 return statements (exceeds 4 allowed).
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
    }
Severity: Major
Found in builder/dockerfile/dispatchers_windows.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status