mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Fix bug with package without alias
This commit is contained in:
@ -208,7 +208,7 @@ class BasePlatform(object):
|
|||||||
|
|
||||||
# append aliases of the installed packages
|
# append aliases of the installed packages
|
||||||
for name, options in self.get_packages().items():
|
for name, options in self.get_packages().items():
|
||||||
if name not in installed_packages:
|
if "alias" not in options or name not in installed_packages:
|
||||||
continue
|
continue
|
||||||
variables.append(
|
variables.append(
|
||||||
"PIOPACKAGE_%s=%s" % (options['alias'].upper(), name))
|
"PIOPACKAGE_%s=%s" % (options['alias'].upper(), name))
|
||||||
|
Reference in New Issue
Block a user