diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 index 5bd7fd89b..46e9a4500 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 @@ -241,7 +241,7 @@ function Get-GHCVersion { } function Get-GHCupVersion { - $(ghcup --version) -match "version v(?\d+(\.\d+){2,})" | Out-Null + $(ghcup --version) -match "version (?\d+(\.\d+){2,})" | Out-Null return $Matches.version }