gitlabhq/gitlab-shell

View on GitHub
internal/command/receivepack/receivepack.go

Summary

Maintainability
A
40 mins
Test Coverage

Method Command.Execute has 6 return statements (exceeds 4 allowed).
Open

func (c *Command) Execute(ctx context.Context) (context.Context, error) {
    args := c.Args.SshArgs
    if len(args) != 2 {
        return ctx, disallowedcommand.Error
    }
Severity: Major
Found in internal/command/receivepack/receivepack.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status