Skip to content

Commit

Permalink
Fix: 0 is no error code
Browse files Browse the repository at this point in the history
Co-authored-by: Jasper Craeghs <[email protected]>
  • Loading branch information
JokeWaumans and JasperCraeghs authored Dec 6, 2024
1 parent 4ac22da commit ed4e853
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mlx/warnings/robot_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ def return_check_limits(self):
else:
string = "all test suites"
count += checker.return_check_limits(f"{string:<30}")
print(f"Returning error code {self.count}.")
if count:
print(f"Returning error code {count}.")
return count

def parse_config(self, config):
Expand Down

0 comments on commit ed4e853

Please sign in to comment.