Skip to content

Commit

Permalink
fix: update condition on bundle directory check
Browse files Browse the repository at this point in the history
  • Loading branch information
seppzer0 committed Mar 1, 2024
1 parent 588da05 commit 119d3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrapper/commands/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def run(self) -> None:
# "full" chroot is hardcoded here
self._collect_assets(self.base, "full")
# clean up
if dcfg.bundle in os.listdir(dcfg.root):
if dcfg.bundle.is_dir():
contents = dcfg.bundle.glob("*")
for f in contents:
os.remove(f)
Expand Down

0 comments on commit 119d3da

Please sign in to comment.