8000 Reorient VS location script · UbiquityDotNET/Llvm.NET@58b8ab5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 58b8ab5

Browse files
committed
Reorient VS location script
1 parent bcb0194 commit 58b8ab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PsModules/CommonBuild/CommonBuild.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function Find-VSInstance([switch]$PreRelease, $Version = '[15.0, 17.0)', [string
304304
Write-Debug "Looking for VS"
305305
$vs = Get-VsSetupInstance -Prerelease:$PreRelease |
306306
Select-VsSetupInstance -Version $Version -Require $requiredComponents |
307-
select -Last 1
307+
select -First 1
308308
Write-Debug "Found $($vs)"
309309
return $vs
310310
}

0 commit comments

Comments
 (0)
0