Resolved a regression issue with Memory Inspection in PIO Home

This commit is contained in:
Ivan Kravets
2023-08-14 19:02:58 +03:00
parent c946613019
commit a0f8def616
2 changed files with 4 additions and 3 deletions

View File

@ -20,7 +20,8 @@ test-driven methodologies, and modern toolchains for unrivaled success.
6.1.11 (2023-??-??)
~~~~~~~~~~~~~~~~~~~
* Resolved a possible issue that may cause generated projects for `PlatformIO IDE for VSCode <https://docs.platformio.org/en/latest/integration/ide/vscode.html>`__ to fail to launch a debug session because of a missing objdump binary when GDB is not part of the toolchain package
* Resolved a possible issue that may cause generated projects for `PlatformIO IDE for VSCode <https://docs.platformio.org/en/latest/integration/ide/vscode.html>`__ to fail to launch a debug session because of a missing "objdump" binary when GDB is not part of the toolchain package
* Resolved a regression issue that resulted in the malfunction of the Memory Inspection feature within `PIO Home <https://docs.platformio.org/en/latest/home/index.html>`__
6.1.10 (2023-08-11)
~~~~~~~~~~~~~~~~~~~

View File

@ -42,9 +42,9 @@ class ProjectRPC(BaseRPCHandler):
project_dir = init_kwargs["path"]
init_kwargs["path"] = os.path.join(init_kwargs["path"], "platformio.ini")
elif os.path.isfile(init_kwargs["path"]):
project_dir = get_project_dir()
else:
project_dir = os.path.dirname(init_kwargs["path"])
else:
project_dir = get_project_dir()
with fs.cd(project_dir):
return getattr(ProjectConfig(**init_kwargs), method)(*args)