From a0745542adc20d925cdedb2436e03220c3b124b4 Mon Sep 17 00:00:00 2001 From: Erik Bershel <110455084+erik-bershel@users.noreply.github.com> Date: Tue, 4 Jul 2023 14:09:29 +0200 Subject: [PATCH] [Windows] Rm "-stable" part from rustfmt version (#7847) --- images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 b/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 index 929c21564..e059910be 100644 --- a/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 +++ b/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 @@ -42,7 +42,7 @@ function Get-RustdocVersion { } function Get-RustfmtVersion { - rustfmt --version | Take-Part -Part 1 + rustfmt --version | Take-Part -Part 1 | Take-Part -Part 0 -Delimiter ('-') } function Get-RustClippyVersion {