Skip to content

Commit 649b4b9

Browse files
Fixed bug
fixed bug
1 parent b299e18 commit 649b4b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ if ($inputs.fail_below_threshold) {
143143
Write-ActionInfo " * fail_below_threshold: true"
144144
}
145145

146-
if ($coverage_value.coveragePercentage -lt $inputs.minimum_coverage) {
146+
if ($coverage_value.coveragePercentage -lt $inputs.minimum_coverage -and $inputs.fail_below_threshold) {
147147
$script:stepShouldFail = $true
148148
}
149149

0 commit comments

Comments
 (0)