diff --git a/docs b/docs index d3ee70cf..a9a15392 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit d3ee70cf98e915f99af59f4e990c1c491dd8eff9 +Subproject commit a9a15392b2f344e73f2b0e79c5988ce3f55019bc diff --git a/platformio/commands/update.py b/platformio/commands/update.py index 65c44fac..924fb290 100644 --- a/platformio/commands/update.py +++ b/platformio/commands/update.py @@ -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("================")