mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
fix define sanity
This commit is contained in:
@@ -51,7 +51,7 @@ number_of_defines = 0
|
||||
if not on_github:
|
||||
print(blue(f"Running define sanity check outside of Github Actions.\nFor assistance, a '{output_file_name}' file will be generated at the root of your directory if any errors are detected."))
|
||||
|
||||
for code_file in (glob.glob(parent_directory, recursive=True) + glob.glob(parent_directory_skyrat, recursive=True) + glob.glob(parent_directory_zubbers, recursive=True)): # BUBBER EDIT - Adds modular folders to check
|
||||
for code_file in glob.glob(parent_directory, recursive=True):
|
||||
exempt_file = False
|
||||
for exempt_directory in excluded_files:
|
||||
if fnmatch.fnmatch(code_file, exempt_directory):
|
||||
|
||||
Reference in New Issue
Block a user