Skip to content

Commit

Permalink
Fixed an issue when pio pkg install --storage-dir command requires …
Browse files Browse the repository at this point in the history
…PlatformIO project // Resolve #4410
  • Loading branch information
ivankravets committed Sep 30, 2022
1 parent d6d1c6b commit e0f9cb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ PlatformIO Core 6

* Speeded up device port finder by avoiding loading board HWIDs from development platforms
* 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)
~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion platformio/package/commands/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
@click.option("-f", "--force", is_flag=True, help="Reinstall package if it exists")
@click.option("-s", "--silent", is_flag=True, help="Suppress progress reporting")
def package_install_cmd(**options):
if options.get("global"):
if options.get("global") or options.get("storage_dir"):
install_global_dependencies(options)
else:
install_project_dependencies(options)
Expand Down

0 comments on commit e0f9cb8

Please sign in to comment.