mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fixed an issue when pio pkg install --storage-dir
command requires PlatformIO project // Resolve #4410
This commit is contained in:
@ -18,6 +18,7 @@ PlatformIO Core 6
|
|||||||
|
|
||||||
* Speeded up device port finder by avoiding loading board HWIDs from development platforms
|
* Speeded up device port finder by avoiding loading board HWIDs from development platforms
|
||||||
* Improved caching of build metadata in debug mode
|
* Improved caching of build metadata in debug mode
|
||||||
|
* Fixed an issue when `pio pkg install --storage-dir <https://docs.platformio.org/en/latest/core/userguide/pkg/cmd_install.html>`__ command requires PlatformIO project (`issue #4410 <https://github.com/platformio/platformio-core/issues/4410>`_)
|
||||||
|
|
||||||
6.1.4 (2022-08-12)
|
6.1.4 (2022-08-12)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -61,7 +61,7 @@ from platformio.test.runners.factory import TestRunnerFactory
|
|||||||
@click.option("-f", "--force", is_flag=True, help="Reinstall package if it exists")
|
@click.option("-f", "--force", is_flag=True, help="Reinstall package if it exists")
|
||||||
@click.option("-s", "--silent", is_flag=True, help="Suppress progress reporting")
|
@click.option("-s", "--silent", is_flag=True, help="Suppress progress reporting")
|
||||||
def package_install_cmd(**options):
|
def package_install_cmd(**options):
|
||||||
if options.get("global"):
|
if options.get("global") or options.get("storage_dir"):
|
||||||
install_global_dependencies(options)
|
install_global_dependencies(options)
|
||||||
else:
|
else:
|
||||||
install_project_dependencies(options)
|
install_project_dependencies(options)
|
||||||
|
Reference in New Issue
Block a user