mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47: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
|
||||
# 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"])
|
||||
return True
|
||||
|
||||
|
Reference in New Issue
Block a user