Skip to content

Commit

Permalink
ci is not working again
Browse files Browse the repository at this point in the history
  • Loading branch information
AngheloAlf committed Sep 20, 2023
1 parent 9903ae1 commit ef88fa8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/check_recursive.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ def recursePaths(folder: Path) -> int:
if subpath.name.startswith("."):
continue

print(subpath)

if subpath.is_dir():
recursePaths(subpath)
errors += recursePaths(subpath)
continue

if subpath.parts[-2] == "drmario64" and subpath.name == "baserom.cn.z64":
Expand All @@ -70,8 +72,6 @@ def recursePaths(folder: Path) -> int:
if not ok:
errors += 1

print(f"Total errors: {errors}")

return errors


Expand All @@ -80,4 +80,5 @@ def recursePaths(folder: Path) -> int:

args = parser.parse_args()

exit(recursePaths(Path(args.path)))
errors = recursePaths(Path(args.path))
exit(errors)

0 comments on commit ef88fa8

Please sign in to comment.