Resolved an issue where the PlatformIO Debugging solution was not escaping the tool installation process into MI2 correctly // Resolve #4565

This commit is contained in:
Ivan Kravets committed 2023-04-15 19:21:46 +03:00
1 parent 0d9ee75b05
commit 7e9b637143
3 files changed
+49 -64

No files matched your search

+3 -3
View File
@@ -146,9 +146,9 @@ class DebugConfigBase: # pylint: disable=too-many-instance-attributes
def _load_build_data(self):
data = load_build_metadata(os.getcwd(), self.env_name, cache=True, debug=True)
if data:
return data
raise DebugInvalidOptionsError("Could not load a build configuration")
if not data:
raise DebugInvalidOptionsError("Could not load a build configuration")
return data
def _configure_server(self):
# user disabled server in platformio.ini