Fix rustup version in docs (#2190)
Co-authored-by: MaksimZhukov <[email protected]>
This commit is contained in:
co-authored by
MaksimZhukov
parent
185b8209c2
commit
cd45b96d7f
@@ -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