mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Bypass PermissionError when cleaning the cache
This commit is contained in:
@ -139,7 +139,10 @@ def after_upgrade(ctx):
|
||||
return
|
||||
else:
|
||||
click.secho("Please wait while upgrading PlatformIO...", fg="yellow")
|
||||
app.clean_cache()
|
||||
try:
|
||||
app.clean_cache()
|
||||
except PermissionError:
|
||||
pass
|
||||
|
||||
# Update PlatformIO's Core packages
|
||||
update_core_packages(silent=True)
|
||||
|
Reference in New Issue
Block a user