Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions scripts/public_symbols_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ def remove_common_symbols():
del removed_symbols[file_path]


if added_symbols or removed_symbols:
# If a symbol is added and removed in the same commit, we consider it as not
# added or removed.
remove_common_symbols()

# If a symbol is added and removed in the same commit, we consider it
# as not added or removed.
remove_common_symbols()
if added_symbols or removed_symbols:
print("The code in this branch adds the following public symbols:")
print()
for file_path_, symbols_ in added_symbols.items():
Expand Down