mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-02-07 18:17:24 +00:00
Clarify log messages in getUvPythonDir
This commit is contained in:
parent
55e2d80988
commit
a61896fc1e
1 changed files with 2 additions and 2 deletions
|
|
@ -132,7 +132,7 @@ export async function getUvPythonDir(): Promise<string> {
|
|||
);
|
||||
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"]);
|
||||
if (result.exitCode !== 0) {
|
||||
throw new Error(
|
||||
|
|
@ -140,7 +140,7 @@ export async function getUvPythonDir(): Promise<string> {
|
|||
);
|
||||
}
|
||||
const dir = result.stdout.trim();
|
||||
core.info(`Determined UV_PYTHON_INSTALL_DIR: ${dir}`);
|
||||
core.info(`Determined uv python dir: ${dir}`);
|
||||
return dir;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue