Skip to content

Commit b47ee1b

Browse files
committed
Fix typo.
1 parent 29c746d commit b47ee1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_differ.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def cleanup_old_builds(dist_dir, current_version):
4545
Deletes any build files ending in .zip or .tar.gz in the dist_dir with a different version tag.
4646
"""
4747
for file in os.listdir(dist_dir):
48-
if not file.endswith((f'{current_version}.zip', f'{current_version}.tar.gz'), '.gitignore'):
48+
if not file.endswith((f'{current_version}.zip', f'{current_version}.tar.gz', '.gitignore')):
4949
file_path = os.path.join(dist_dir, file)
5050
os.remove(file_path)
5151
print(f"Deleted old build file: {file}")

0 commit comments

Comments
 (0)