From 4f0c60edfa61417778013f47ef3ba3ecb129f494 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sun, 2 Sep 2018 19:32:45 +0300 Subject: [PATCH] Clean cache on PIO Core update --- docs | 2 +- platformio/commands/update.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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("================")