Rename "load_project_ide_data" to the "load_build_metadata"

This commit is contained in:
Ivan Kravets
2022-05-14 16:29:41 +03:00
parent 40e4e38e0c
commit af5a820862
7 changed files with 19 additions and 17 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ from platformio.compat import string_types
from platformio.debug.exception import DebugInvalidOptionsError
from platformio.debug.helpers import reveal_debug_port
from platformio.project.config import ProjectConfig
from platformio.project.helpers import load_project_ide_data
from platformio.project.helpers import load_build_metadata
from platformio.project.options import ProjectOptions
@@ -147,7 +147,7 @@ class DebugConfigBase: # pylint: disable=too-many-instance-attributes
)
def _load_build_data(self):
data = load_project_ide_data(os.getcwd(), self.env_name, cache=True)
data = load_build_metadata(os.getcwd(), self.env_name)
if data:
return data
raise DebugInvalidOptionsError("Could not load a build configuration")