gitlabhq/gitlab-shell

View on GitHub
cmd/gitlab-shell-authorized-principals-check/main.go

Summary

Maintainability
A
35 mins
Test Coverage

Function run has 5 return statements (exceeds 4 allowed).
Open

func run() int {
    command.CheckForVersionFlag(os.Args, Version, BuildTime)

    readWriter := &readwriter.ReadWriter{
        Out:    &readwriter.CountingWriter{W: os.Stdout},
Severity: Major
Found in cmd/gitlab-shell-authorized-principals-check/main.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status