Skip to content

Commit

Permalink
[Evaluation] fixes ws success condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed May 2, 2024
1 parent 3deda7e commit 6643154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/evaluation/Library/Checker/MaxFailedChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function supports(EvaluationInterface $evaluation): bool
*/
public function vote(EvaluationInterface $evaluation): ?string
{
if (empty($this->maxFailed)) {
if (empty($this->maxFailed) && 0 !== $this->maxFailed) {
// no failed threshold is defined, nothing to do here
return null;
}
Expand Down

0 comments on commit 6643154

Please sign in to comment.