forked from platformio/platformio-core
Allow to update only the PIO Core packages
This commit is contained in:
@@ -59,8 +59,6 @@ def on_platformio_start(ctx, force, caller):
|
||||
app.set_session_var("caller_id", caller)
|
||||
telemetry.on_command()
|
||||
|
||||
if ctx.args and ctx.args[0] == "update":
|
||||
app.clean_cache()
|
||||
if not in_silence(ctx):
|
||||
after_upgrade(ctx)
|
||||
|
||||
@@ -159,7 +157,7 @@ def after_upgrade(ctx):
|
||||
app.clean_cache()
|
||||
|
||||
# Update PlatformIO's Core packages
|
||||
update_core_packages()
|
||||
update_core_packages(silent=True)
|
||||
|
||||
u = Upgrader(last_version, __version__)
|
||||
if u.run(ctx):
|
||||
|
Reference in New Issue
Block a user