Clean cache on PIO Core update

This commit is contained in:
Ivan Kravets
2018-09-02 19:32:45 +03:00
parent 6caa7f30ac
commit 4f0c60edfa
2 changed files with 4 additions and 4 deletions

2
docs

Submodule docs updated: d3ee70cf98...a9a15392b2

View File

@ -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("================")