fix: log rustup toolchain list failure as info instead of warning (#393) (#394)

Do not show a warning when rustup is not installed.
This commit is contained in:
Simon Scatton
2026-10-20 15:35:22 +02:00
committed by GitHub
parent f0d9c38877
commit 0e361f3528
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ async function getRustVersions(cmdFormat: string): Promise<Array<string>> {
try {
return await getCmdOutput(cmdFormat, "rustup toolchain list --quiet");
} catch (e) {
core.warning(`Error running rustup toolchain list, falling back to default toolchain only: ${e}`);
core.info(`Error running rustup toolchain list, falling back to default toolchain only: ${e}`);
return undefined;
}
})();