Skip to content

Commit

Permalink
fix: prevent issues with path seperators
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeLaine committed Aug 7, 2024
1 parent d62ba61 commit af9ecf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/check-message-compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ def main(repo1: str, repo2: str, verbose: bool = False):
else:
if verbose:
for msg_type in incompatible_types:
file1 = f'{repo1}/msg/{msg_type}.msg'
file2 = f'{repo2}/msg/{msg_type}.msg'
file1 = os.path.join(repo1, 'msg', f'{msg_type}.msg')
file2 = os.path.join(repo2, 'msg', f'{msg_type}.msg')
compare_files(file1, file2)
print("Note: The printed diff includes all content differences. "
"The computed check is less sensitive to formatting and comments.", end='\n\n')
Expand Down

0 comments on commit af9ecf6

Please sign in to comment.