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 {