Просмотр исходного кода

Remove vswhere version extra closing parenthesis (#34461)

Brandon Hill 4 лет назад
Родитель
Сommit
8e9af3c88e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      eng/scripts/InstallVisualStudio.ps1

+ 1 - 1
eng/scripts/InstallVisualStudio.ps1

@@ -94,7 +94,7 @@ if (-not $InstallPath) {
     $vsWhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
     if (Test-Path $vsWhere)
     {
-        $installations = & $vsWhere -version "[$vsversion,$($vsversion+1)))" -format json -prerelease -products $productId | ConvertFrom-Json |Sort-Object -Descending -Property installationVersion, installDate
+        $installations = & $vsWhere -version "[$vsversion,$($vsversion+1))" -format json -prerelease -products $productId | ConvertFrom-Json |Sort-Object -Descending -Property installationVersion, installDate
         foreach ($installation in $installations) {
             Write-Host "Found '$($installation.installationName)' in '$($installation.installationPath)', channel = '$($installation.channelId)'"
             if ($installation.channelId -eq $channelId) {