mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 18:44:27 +02:00
Fix Upgrade for 3.0.0b1
This commit is contained in:
@@ -141,9 +141,10 @@ class Upgrader(object):
|
|||||||
m['name'] for m in PlatformManager().get_installed()
|
m['name'] for m in PlatformManager().get_installed()
|
||||||
]
|
]
|
||||||
if "espressif" not in current_platforms:
|
if "espressif" not in current_platforms:
|
||||||
return
|
return True
|
||||||
ctx.invoke(cmd_platform_install, platforms=["espressif8266"])
|
ctx.invoke(cmd_platform_install, platforms=["espressif8266"])
|
||||||
ctx.invoke(cmd_platform_uninstall, platforms=["espressif"])
|
ctx.invoke(cmd_platform_uninstall, platforms=["espressif"])
|
||||||
|
return True
|
||||||
|
|
||||||
|
|
||||||
def after_upgrade(ctx):
|
def after_upgrade(ctx):
|
||||||
|
Reference in New Issue
Block a user