mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Handle incompatibility between PIO Core and PIO Core+
This commit is contained in:
@ -75,7 +75,8 @@ class CorePackageManager(PackageManager):
|
||||
|
||||
|
||||
def get_core_package_dir(name):
|
||||
assert name in CORE_PACKAGES
|
||||
if name not in CORE_PACKAGES:
|
||||
raise exception.PlatformioException("Please upgrade PIO Core")
|
||||
requirements = CORE_PACKAGES[name]
|
||||
pm = CorePackageManager()
|
||||
pkg_dir = pm.get_package_dir(name, requirements)
|
||||
|
Reference in New Issue
Block a user