Browse Source

fix typing for filter option - DK

Signed-off-by: Andrew Kutta <andrew.kutta@gmail.com>
Andrew Kutta 6 years ago
parent
commit
585867be48
1 changed files with 2 additions and 2 deletions
  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[:]
 }