gabor-boros/minutes

View on GitHub
cmd/root/cmd.go

Summary

Maintainability
A
0 mins
Test Coverage

Function runRootCmd has 94 lines of code (exceeds 50 allowed). Consider refactoring.
Wontfix

func runRootCmd(_ *cobra.Command, _ []string) {
    var err error

    if viper.GetBool("version") {
        if version == "" || len(commit) < 7 || date == "" {
Severity: Major
Found in cmd/root/cmd.go - About 2 hrs to fix

There are no issues that match your filters.

Category
Status