瀏覽代碼

fix typing for filter option - DK

Signed-off-by: Andrew Kutta <andrew.kutta@gmail.com>
Andrew Kutta 6 年之前
父節點
當前提交
585867be48
共有 1 個文件被更改,包括 2 次插入2 次删除
  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[:]
 }