cmd/gitlab-shell-authorized-keys-check/main.go
Function execute
has 5 return statements (exceeds 4 allowed). Open
Open
func execute(readWriter *readwriter.ReadWriter) (int, error) {
executable, err := executable.New(executable.AuthorizedKeysCheck)
if err != nil {
return exitCodeFailure, fmt.Errorf("failed to determine executable, exiting")
}