mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
[Windows] Rm "-stable" part from rustfmt version (#7847)
This commit is contained in:
@@ -42,7 +42,7 @@ function Get-RustdocVersion {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Get-RustfmtVersion {
|
function Get-RustfmtVersion {
|
||||||
rustfmt --version | Take-Part -Part 1
|
rustfmt --version | Take-Part -Part 1 | Take-Part -Part 0 -Delimiter ('-')
|
||||||
}
|
}
|
||||||
|
|
||||||
function Get-RustClippyVersion {
|
function Get-RustClippyVersion {
|
||||||
|
|||||||
Reference in New Issue
Block a user