Skip to content

Commit 15a5489

Browse files
committed
Update dir_utils.py
1 parent b4f6504 commit 15a5489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/fireci/fireci/dir_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def rmglob(pattern: str) -> int:
5151
for file in glob.glob(os.path.expanduser(pattern)):
5252
path = pathlib.Path(file)
5353
if path.is_dir():
54-
rmdir(path)
54+
rmdir(file)
5555
else:
5656
_logger.debug(f"Deleting file: {path}")
5757
os.remove(path)

0 commit comments

Comments
 (0)