nikoksr/proji

View on GitHub
cmd/packageEdit.go

Summary

Maintainability
A
50 mins
Test Coverage

Function editPackageConfig has 8 return statements (exceeds 4 allowed).
Open

func editPackageConfig(packageLabel string) (err error) {
    // Try to load the package; implicitly checks if a package is even associated to the given label.
    pkg, err := session.packageService.LoadPackage(true, packageLabel)
    if err != nil {
        return fmt.Errorf("load package: %v", err)
Severity: Major
Found in cmd/packageEdit.go - About 50 mins to fix

    There are no issues that match your filters.

    Category
    Status