Skip to content

Commit

Permalink
Don't error on the includes file not including itself.
Browse files Browse the repository at this point in the history
  • Loading branch information
LikeLakers2 committed Jul 3, 2024
1 parent 1ea9950 commit 9710396
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/ticked_file_enforcement/ticked_file_enforcement.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ def get_base_scanning_directory_file_list():

# Is the includes file missing any includes? This is an error if it does.
missing_includes = files_within_scanned_directory - includes_found_set
# Make sure we don't check for the includes file itself.
missing_includes.discard(includes_file)
if len(missing_includes) != 0:
tfe_has_failed = True
for file_path in missing_includes:
Expand Down

0 comments on commit 9710396

Please sign in to comment.