Resolved an issue where the `--project-dir` flag did not function correctly with the check and debug commands // Resolve #5029

This commit is contained in:
Ivan Kravets
2024-12-13 13:01:40 +02:00
parent 1d4b5c8051
commit d15314689d
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -86,7 +86,7 @@ def cli( # pylint: disable=too-many-positional-arguments
if not interface:
return helpers.predebug_project(
ctx, project_dir, project_config, env_name, False, verbose
ctx, os.getcwd(), project_config, env_name, False, verbose
)
configure_args = (
@@ -106,7 +106,7 @@ def cli( # pylint: disable=too-many-positional-arguments
else:
debug_config = _configure(*configure_args)
_run(project_dir, debug_config, client_extra_args)
_run(os.getcwd(), debug_config, client_extra_args)
return None