mirror of
https://github.com/Swatinem/rust-cache.git
synced 2026-10-26 17:47:41 +08: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