Skip to content

Commit

Permalink
invert count
Browse files Browse the repository at this point in the history
  • Loading branch information
DouglasCorreiaMeli committed Nov 4, 2021
1 parent e09bc34 commit 2178fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MercadoPago/Test/pull-request-coverage-checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function is_testable($filename): bool {
}

if ($totalElements == 0 || $checkedElements == 0) {
if (count($pullRequestFiles) === 0) {
if (count($pullRequestFiles) !== 0) {
throw new Exception('Pull Request does not contain tested php files to check code coverage');
}
print_r('Pull Request does not contain any php file to check code coverage');
Expand Down

0 comments on commit 2178fb6

Please sign in to comment.