From 2e6d8df3453528f53fd72d82e76bb5e4473277d4 Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Wed, 9 Dec 2020 15:17:11 +0300 Subject: [PATCH] fix comments --- get-new-tool-versions/get-new-tool-versions.ps1 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/get-new-tool-versions/get-new-tool-versions.ps1 b/get-new-tool-versions/get-new-tool-versions.ps1 index 91a739f..e2f0474 100644 --- a/get-new-tool-versions/get-new-tool-versions.ps1 +++ b/get-new-tool-versions/get-new-tool-versions.ps1 @@ -19,10 +19,9 @@ $VersionsFromManifest = $ToolVersionParser.GetUploadedVersions() $VersionsToBuild = $VersionsFromDist | Where-Object { $VersionsFromManifest -notcontains $_ } if ($VersionsToBuild) { - $availableVersions = $VersionsToBuild -join "," - $toolVersions = $availableVersions.Replace(",",", ") - Write-Host "The following versions are available to build:`n$toolVersions" - Write-Host "##vso[task.setvariable variable=TOOL_VERSIONS;isOutput=true]$toolVersions" + $availableVersions = $VersionsToBuild -join ", " + Write-Host "The following versions are available to build:`n${availableVersions}" + Write-Host "##vso[task.setvariable variable=TOOL_VERSIONS;isOutput=true]${availableVersions}" } else { Write-Host "There aren't versions to build" }