[Windows] Fix platform conditions by adding brackets (#3856)

This commit is contained in:
Maxim Lobanov
2021-08-05 07:26:07 +03:00
committed by GitHub
parent 8481b2c846
commit 71a9049e38
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ function Get-VisualStudioExtensions {
)
}
if (Test-IsWin16 -or Test-IsWin19) {
if ((Test-IsWin16) -or (Test-IsWin19)) {
# Wix
$wixPackageVersion = Get-WixVersion
$wixExtensionVersion = ($vsPackages | Where-Object {$_.Id -match 'WixToolset.VisualStudioExtension.Dev' -and $_.type -eq 'vsix'}).Version