mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Clean cache on PIO Core update
This commit is contained in:
2
docs
2
docs
Submodule docs updated: d3ee70cf98...a9a15392b2
@ -32,14 +32,14 @@ from platformio.managers.lib import LibraryManager
|
|||||||
help="Do not update, only check for new version")
|
help="Do not update, only check for new version")
|
||||||
@click.pass_context
|
@click.pass_context
|
||||||
def cli(ctx, core_packages, only_check):
|
def cli(ctx, core_packages, only_check):
|
||||||
|
# cleanup lib search results, cached board and platform lists
|
||||||
|
app.clean_cache()
|
||||||
|
|
||||||
update_core_packages(only_check)
|
update_core_packages(only_check)
|
||||||
|
|
||||||
if core_packages:
|
if core_packages:
|
||||||
return
|
return
|
||||||
|
|
||||||
# cleanup lib search results, cached board and platform lists
|
|
||||||
app.clean_cache()
|
|
||||||
|
|
||||||
click.echo()
|
click.echo()
|
||||||
click.echo("Platform Manager")
|
click.echo("Platform Manager")
|
||||||
click.echo("================")
|
click.echo("================")
|
||||||
|
Reference in New Issue
Block a user