Clarify log messages in getUvPythonDir

This commit is contained in:
merlinz01 2025-10-09 16:14:25 -04:00
parent 55e2d80988
commit a61896fc1e

View file

@ -132,7 +132,7 @@ export async function getUvPythonDir(): Promise<string> {
); );
return process.env.UV_PYTHON_INSTALL_DIR; return process.env.UV_PYTHON_INSTALL_DIR;
} }
core.info("Determining UV_PYTHON_INSTALL_DIR using `uv python dir`..."); core.info("Determining uv python dir using `uv python dir`...");
const result = await exec.getExecOutput("uv", ["python", "dir"]); const result = await exec.getExecOutput("uv", ["python", "dir"]);
if (result.exitCode !== 0) { if (result.exitCode !== 0) {
throw new Error( throw new Error(
@ -140,7 +140,7 @@ export async function getUvPythonDir(): Promise<string> {
); );
} }
const dir = result.stdout.trim(); const dir = result.stdout.trim();
core.info(`Determined UV_PYTHON_INSTALL_DIR: ${dir}`); core.info(`Determined uv python dir: ${dir}`);
return dir; return dir;
} }