synapsecns/sanguine

View on GitHub
core/commandline/shell.go

Summary

Maintainability
A
1 hr
Test Coverage

Function GenerateShellCommand has 55 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func GenerateShellCommand(shellCommands []*cli.Command) *cli.Command {
    // explicitly exclude shell if included
    capturedCommands := pruneShellCommands(shellCommands)

    // make sure tty is open, this will not be the case in distroless containers
Severity: Minor
Found in core/commandline/shell.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status