mirror of
https://github.com/Swatinem/rust-cache
synced 2026-11-02 21:13:59 +00:00
Do not show a warning when rustup is not installed.
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user