Skip to content

Commit 2f3f46c

Browse files
author
weihaitian
committed
fix: remove emoji from check_ids.py for Windows compatibility
Replace emoji characters with ASCII text to avoid UnicodeEncodeError on Windows systems with GBK encoding. - ❌ → [ERROR] - ✅ → [OK] This ensures all make check commands work across platforms.
1 parent c207f11 commit 2f3f46c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/check_ids.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ def main() -> None:
2020
seen[id_] = path
2121

2222
if errors:
23-
print(" Duplicate IDs found:")
23+
print("[ERROR] Duplicate IDs found:")
2424
for e in errors:
2525
print(e)
2626
sys.exit(1)
2727

28-
print(f" All {len(seen)} IDs are unique.")
28+
print(f"[OK] All {len(seen)} IDs are unique.")
2929

3030

3131
if __name__ == "__main__":

0 commit comments

Comments
 (0)