Skip to content

Commit

Permalink
Remove temporary restored cached directory
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicaj committed Dec 27, 2023
1 parent 496fbee commit 7d4f215
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scale_build/bootstrap/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ def mirror_cache_intact(self):
else:
intact = False

# Remove the temporary restored cached directory
shutil.rmtree(self.chroot_basedir, ignore_errors=True)

if not intact:
self.remove_cache()

Expand Down

0 comments on commit 7d4f215

Please sign in to comment.