mirror of
https://github.com/platformio/platformio-core.git
synced 2025-08-01 02:54:25 +02:00
Get real path of just installed core-package
This commit is contained in:
@@ -34,9 +34,9 @@ def get_core_package_dir(name):
|
|||||||
pkg = pm.get_package(spec)
|
pkg = pm.get_package(spec)
|
||||||
if pkg:
|
if pkg:
|
||||||
return pkg.path
|
return pkg.path
|
||||||
pkg = pm.install(spec).path
|
assert pm.install(spec).path
|
||||||
_remove_unnecessary_packages()
|
_remove_unnecessary_packages()
|
||||||
return pkg
|
return pm.get_package(spec)
|
||||||
|
|
||||||
|
|
||||||
def update_core_packages(only_check=False, silent=False):
|
def update_core_packages(only_check=False, silent=False):
|
||||||
|
Reference in New Issue
Block a user