alibaba/kt-connect

View on GitHub
pkg/kt/command/config/save.go

Summary

Maintainability
A
40 mins
Test Coverage

Function SaveProfile has 6 return statements (exceeds 4 allowed).
Open

func SaveProfile(args []string) error {
    if len(args) != 1 {
        return fmt.Errorf("must specifiy a profile name")
    }
    profile := profileFile(args[0])
Severity: Major
Found in pkg/kt/command/config/save.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status