mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 13:56:47 +00:00
[Windows] Fix platform conditions by adding brackets (#3856)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user