Explorar o código

fix typing for filter option - DK

Signed-off-by: Andrew Kutta <andrew.kutta@gmail.com>
Andrew Kutta %!s(int64=7) %!d(string=hai) anos
pai
achega
585867be48
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      internal/plumbing/tree_diff.go

+ 2 - 2
internal/plumbing/tree_diff.go

@@ -107,8 +107,8 @@ func (treediff *TreeDiff) ListConfigurationOptions() []core.ConfigurationOption
 	  Name:       ConfigTreeDiffFilterRegex,
     Description: "Will filter which files to analyze based on this Regex",
 		Flag:        "filter",
-		Type:        core.StringsConfigurationOption,
-		},
+		Type:        core.StringConfigurationOption,
+		Default: ""},
 	}
 	return options[:]
 }