forked from platformio/platformio-core
Clean cache on PIO Core update
This commit is contained in:
1 parent
6caa7f30ac
commit
4f0c60edfa
2 files changed
+4
-4
No files matched your search
@@ -32,14 +32,14 @@ from platformio.managers.lib import LibraryManager
|
||||
help="Do not update, only check for new version")
|
||||
@click.pass_context
|
||||
def cli(ctx, core_packages, only_check):
|
||||
# cleanup lib search results, cached board and platform lists
|
||||
app.clean_cache()
|
||||
|
||||
update_core_packages(only_check)
|
||||
|
||||
if core_packages:
|
||||
return
|
||||
|
||||
# cleanup lib search results, cached board and platform lists
|
||||
app.clean_cache()
|
||||
|
||||
click.echo()
|
||||
click.echo("Platform Manager")
|
||||
click.echo("================")
|
||||
|
||||
Reference in new issue
Block a user