forked from platformio/platformio-core
Minor fixes for content cacher
This commit is contained in:
1 parent
ba58b4ba8a
commit
3d6dab39ca
2 files changed
+10
-9
No files matched your search
@@ -64,7 +64,7 @@ def on_platformio_start(ctx, force, caller):
|
||||
app.set_session_var("caller_id", caller)
|
||||
telemetry.on_command()
|
||||
|
||||
if ctx.args and (ctx.args[0] == "upgrade" or "update" in ctx.args):
|
||||
if ctx.args and ctx.args[0] == "upgrade":
|
||||
clean_cache()
|
||||
if not in_silence(ctx):
|
||||
after_upgrade(ctx)
|
||||
|
||||
Reference in new issue
Block a user