mirror of
https://github.com/actions/runner-images.git
synced 2025-12-24 10:28:00 +08:00
Fix rustup version in docs (#2190)
Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
This commit is contained in:
@@ -45,7 +45,7 @@ function Get-Cargoaudit {
|
||||
}
|
||||
|
||||
function Get-RustupVersion {
|
||||
$rustupVersion = Run-Command "rustup --version" | Take-Part -Part 1
|
||||
$rustupVersion = Run-Command "rustup --version" | Select-Object -First 1 | Take-Part -Part 1
|
||||
return "Rustup ${rustupVersion}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user