mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-07 02:27:28 +08:00
minor bugfixing
This commit is contained in:
@@ -7,7 +7,7 @@ $ErrorActionPreference = "Stop"
|
||||
|
||||
$toolset = Get-ToolsetContent
|
||||
$vsixPackagesList = $toolset.visualStudio.vsix
|
||||
if(-not $vsixPackagesList) {
|
||||
if (-not $vsixPackagesList) {
|
||||
Write-Host "No extensions to install"
|
||||
exit 0
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ Describe "Vsix" {
|
||||
$testCases = $requiredVsixs | ForEach-Object { @{ VsixId = $_.Id; AllPackages = $allPackages }}
|
||||
|
||||
It "VSIX Extension <VsixId>" -TestCases $testCases {
|
||||
$objVsix = $AllPackages | Where-Object {$_.id -eq $VsixId } | Select-Object Id, Version
|
||||
$objVsix = $AllPackages | Where-Object { $_.id -eq $VsixId }
|
||||
$objVsix | Should -Not -BeNullOrEmpty
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user