From e08c96d15e8e8624522c71ae7f999d44ce414dc3 Mon Sep 17 00:00:00 2001 From: Hubert Deng Date: Wed, 13 Nov 2024 14:49:01 -0800 Subject: [PATCH] add cwd for debug logs for dependencies --- devservices/utils/dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devservices/utils/dependencies.py b/devservices/utils/dependencies.py index 02203af..9d56925 100644 --- a/devservices/utils/dependencies.py +++ b/devservices/utils/dependencies.py @@ -444,5 +444,5 @@ def _run_command( cmd: list[str], cwd: str, stdout: int | TextIO | None = subprocess.DEVNULL ) -> None: logger = logging.getLogger(LOGGER_NAME) - logger.debug(f"Running command: {' '.join(cmd)}") + logger.debug(f"Running command: {' '.join(cmd)} in {cwd}") subprocess.run(cmd, cwd=cwd, check=True, stdout=stdout, stderr=subprocess.DEVNULL)