Skip to content

Commit 8e9af3c

Browse files
authored
Remove vswhere version extra closing parenthesis (#34461)
1 parent a54d659 commit 8e9af3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/scripts/InstallVisualStudio.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ if (-not $InstallPath) {
9494
$vsWhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
9595
if (Test-Path $vsWhere)
9696
{
97-
$installations = & $vsWhere -version "[$vsversion,$($vsversion+1)))" -format json -prerelease -products $productId | ConvertFrom-Json |Sort-Object -Descending -Property installationVersion, installDate
97+
$installations = & $vsWhere -version "[$vsversion,$($vsversion+1))" -format json -prerelease -products $productId | ConvertFrom-Json |Sort-Object -Descending -Property installationVersion, installDate
9898
foreach ($installation in $installations) {
9999
Write-Host "Found '$($installation.installationName)' in '$($installation.installationPath)', channel = '$($installation.channelId)'"
100100
if ($installation.channelId -eq $channelId) {

0 commit comments

Comments
 (0)