mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +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
|
||||
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
|
||||
variables.append(
|
||||
"PIOPACKAGE_%s=%s" % (options['alias'].upper(), name))
|
||||
|
Reference in New Issue
Block a user