diff --git a/images/macos/software-report/SoftwareReport.Common.psm1 b/images/macos/software-report/SoftwareReport.Common.psm1 index 6efb0c6c..d4cf17e3 100644 --- a/images/macos/software-report/SoftwareReport.Common.psm1 +++ b/images/macos/software-report/SoftwareReport.Common.psm1 @@ -448,7 +448,7 @@ function Get-AliyunCLIVersion { } function Get-GHCupVersion { - $ghcUpVersion = Run-Command "ghcup --version" | Take-Part -Part 5 + $ghcUpVersion = (Run-Command "ghcup --version" | Take-Part -Part 5).Replace('v','') return "GHCup $ghcUpVersion" }