alibaba/kt-connect

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

Summary

Maintainability
A
40 mins
Test Coverage

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

func Show(args []string) error {
    if len(args) > 0 {
        return fmt.Errorf("parameter '%s' is invalid", args[0])
    }
    customConfig := loadCustomConfig()
Severity: Major
Found in pkg/kt/command/config/show.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status