mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Bypass PermissionError when cleaning the cache
This commit is contained in:
@ -139,7 +139,10 @@ def after_upgrade(ctx):
|
|||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
click.secho("Please wait while upgrading PlatformIO...", fg="yellow")
|
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 PlatformIO's Core packages
|
||||||
update_core_packages(silent=True)
|
update_core_packages(silent=True)
|
||||||
|
Reference in New Issue
Block a user