Skip to content

Commit 54f1832

Browse files
committed
Fix build issue
1 parent caba26d commit 54f1832

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@
9494
print(f"Successfully built: {target}")
9595
format_path = os.path.join(plugins_dir, fmt)
9696

97-
for pdb_file in format_path.rglob("*.pdb"):
97+
for pdb_file in Path(format_path).resolve().rglob("*.pdb"):
9898
try:
9999
pdb_file.unlink()
100100
print(f"Removed: {pdb_file}")
101101
except Exception as e:
102102
print(f"Failed to remove {pdb_file}: {e}")
103103

104-
for trash in format_path.rglob("plugdata.*"): # weird plugdata build trash on Windows for some reason
104+
for trash in Path(format_path).resolve().rglob("plugdata.*"): # weird plugdata build trash on Windows for some reason
105105
try:
106106
trash.unlink()
107107
print(f"Removed: {trash}")

0 commit comments

Comments
 (0)