Skip to content

Commit 8612578

Browse files
committed
build.ps1 - Add VS where path null check
1 parent 6fb27af commit 8612578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ try
267267

268268
Write-Diagnostic "VS2017InstallPath: $VS2017InstallPath"
269269

270-
if(!(Test-Path $VS2017InstallPath))
270+
if($VS2017InstallPath -eq $null -or !(Test-Path $VS2017InstallPath))
271271
{
272272
Die "Visual Studio 2017 was not found"
273273
}

0 commit comments

Comments
 (0)