zephinzer/godev

View on GitHub
command.go

Summary

Maintainability
A
35 mins
Test Coverage

Showing 1 of 1 total issue

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

func (command *Command) IsValid() error {
application := command.config.Application
if len(application) == 0 {
return errors.New("no application was specified")
}
Severity: Major
Found in command.go - About 35 mins to fix
    Category
    Status