5
0
mirror of https://github.com/astral-sh/setup-uv.git synced 2025-12-19 11:04:08 +00:00

Add more debug logs (#297)

This commit is contained in:
Kevin Stillhammer
2025-02-21 11:10:37 +01:00
committed by GitHub
parent a4fbf7b827
commit 1edb52594c
3 changed files with 10 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import * as toml from "smol-toml";
export function getUvVersionFromConfigFile(
filePath: string,
): string | undefined {
core.debug(`Trying to find required-version for uv in: ${filePath}`);
if (!fs.existsSync(filePath)) {
core.warning(`Could not find file: ${filePath}`);
return undefined;