Skip to content

Commit

Permalink
Fix Collecting Tests in Root
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDarigan authored Sep 1, 2021
1 parent feffbfe commit 4e31c2a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions addons/WAT/filesystem/directory.gd
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ func get_tests() -> Array:
if is_root:
for subdir in nested_subdirs:
requested += subdir.get_tests()
else:
for script in tests:
requested += script.get_tests()
for script in tests:
requested += script.get_tests()
return requested

func is_empty() -> bool:
Expand Down

0 comments on commit 4e31c2a

Please sign in to comment.