Skip to content

Commit 1da85bf

Browse files
committed
make default threshold 1 again
#83 started allowing some values to be set through config options. In the process the default value for the threshold was lost, which used to be 1, but after the change was 0. Set the default threshold to 1 again as is documented.
1 parent 26d11a5 commit 1da85bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-sizer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ func mainImplementation(args []string) error {
260260
var cpuprofile string
261261
var jsonOutput bool
262262
var jsonVersion int
263-
var threshold sizes.Threshold
263+
var threshold sizes.Threshold = 1
264264
var progress bool
265265
var version bool
266266
var filter git.IncludeExcludeFilter

0 commit comments

Comments
 (0)