Skip to content

Commit

Permalink
I forgot, these need to be windows paths...
Browse files Browse the repository at this point in the history
  • Loading branch information
LikeLakers2 committed Jul 4, 2024
1 parent 2a8b227 commit b0da8c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/ticked_file_enforcement/ticked_file_enforcement.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ def compare_paths(a: pathlib.Path, b: pathlib.Path):
result_string.write(pre_include_text)
result_string.write("// BEGIN_INCLUDE\n")
for include in sorted_includes:
print(f'#include "{include}"', file=result_string)
string_include = pathlib.PureWindowsPath(include)
print(f'#include "{string_include}"', file=result_string)
result_string.write("// END_INCLUDE\n")
result_string.write(post_include_text)

Expand Down

0 comments on commit b0da8c4

Please sign in to comment.