Skip to content

Commit 5963a53

Browse files
fixed ThresholdTotal value check (#83)
1 parent dc6bb7f commit 5963a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (a *args) overrideConfig(cfg testcoverage.Config) (testcoverage.Config, err
103103
cfg.Threshold.Package = a.ThresholdPackage
104104
}
105105

106-
if !isCIDefaultInt(a.ThresholdPackage) {
106+
if !isCIDefaultInt(a.ThresholdTotal) {
107107
cfg.Threshold.Total = a.ThresholdTotal
108108
}
109109

0 commit comments

Comments
 (0)