diff --git a/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 b/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 index e059910b..32e7b6b7 100644 --- a/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 +++ b/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 @@ -152,7 +152,7 @@ function Get-NugetVersion { } function Get-AntVersion { - (ant -version) -match "version" | Take-Part -Part 3 + ant -version | Take-Part -Part 3 } function Get-MavenVersion {