gitlabhq/gitlab-shell

View on GitHub
internal/command/shared/customaction/customaction.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Command.processAPIEndpoints has 5 return statements (exceeds 4 allowed).
Open

func (c *Command) processAPIEndpoints(ctx context.Context, response *accessverifier.Response) error {
    client, err := gitlabnet.GetClient(c.Config)

    if err != nil {
        return err
Severity: Major
Found in internal/command/shared/customaction/customaction.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status