Skip to content

Commit

Permalink
fixed ThresholdTotal value check (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonsergeyev authored Apr 8, 2024
1 parent dc6bb7f commit 5963a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (a *args) overrideConfig(cfg testcoverage.Config) (testcoverage.Config, err
cfg.Threshold.Package = a.ThresholdPackage
}

if !isCIDefaultInt(a.ThresholdPackage) {
if !isCIDefaultInt(a.ThresholdTotal) {
cfg.Threshold.Total = a.ThresholdTotal
}

Expand Down

0 comments on commit 5963a53

Please sign in to comment.