mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fix bug with auto-installing "titiva" platform
This commit is contained in:
@ -81,7 +81,7 @@ class Upgrader(object):
|
|||||||
|
|
||||||
def _upgrade_to_110(self, ctx): # pylint: disable=R0201
|
def _upgrade_to_110(self, ctx): # pylint: disable=R0201
|
||||||
# install "ldscripts" package
|
# install "ldscripts" package
|
||||||
if "titiva" in PlatformFactory.get_platforms().keys():
|
if "titiva" in PlatformFactory.get_platforms(installed=True).keys():
|
||||||
ctx.invoke(cmd_install, platforms=["titiva"])
|
ctx.invoke(cmd_install, platforms=["titiva"])
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user