internal/cli/deploy/deploy.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function deploy has 65 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func deploy(stage string, build bool) error {
retry:
    c, p, err := root.Init()

    // missing up.json non-interactive
Severity: Minor
Found in internal/cli/deploy/deploy.go - About 1 hr to fix

    Function deploy has 10 return statements (exceeds 4 allowed).
    Open

    func deploy(stage string, build bool) error {
    retry:
        c, p, err := root.Init()
    
        // missing up.json non-interactive
    Severity: Major
    Found in internal/cli/deploy/deploy.go - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status