minepkg/minepkg

View on GitHub
cmd/bump/checks.go

Summary

Maintainability
A
2 hrs
Test Coverage

Method bumpRunner.gitChecks has 57 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (b *bumpRunner) gitChecks() error {
    dirty, err := utils.SimpleGitExec("status --porcelain")
    if err != nil {
        return err
    }
Severity: Minor
Found in cmd/bump/checks.go - About 1 hr to fix

    Method bumpRunner.gitChecks has 10 return statements (exceeds 4 allowed).
    Open

    func (b *bumpRunner) gitChecks() error {
        dirty, err := utils.SimpleGitExec("status --porcelain")
        if err != nil {
            return err
        }
    Severity: Major
    Found in cmd/bump/checks.go - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status