From 63fe681d98384821d374b3423b505e7f747fed86 Mon Sep 17 00:00:00 2001 From: "Andrey Mishechkin (GITHUB INC)" Date: Fri, 11 Sep 2020 19:40:28 +0400 Subject: [PATCH] Case has been fixed --- images/win/scripts/Installers/Install-Vsix.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/images/win/scripts/Installers/Install-Vsix.ps1 b/images/win/scripts/Installers/Install-Vsix.ps1 index fbbc7d1b3..4e6062a28 100644 --- a/images/win/scripts/Installers/Install-Vsix.ps1 +++ b/images/win/scripts/Installers/Install-Vsix.ps1 @@ -6,15 +6,15 @@ $ErrorActionPreference = "Stop" $toolset = Get-ToolsetContent -$VsixPackagesList = $toolset.visualStudio.vsix -if (-not $VsixPackagesList) { +$vsixPackagesList = $toolset.visualStudio.vsix +if (-not $vsixPackagesList) { Write-Host "No extensions to install" exit 0 } -$VsVersion = $toolset.visualStudio.Version -$VsixPackagesList | ForEach-Object { - Install-VsixExtension -url $_.url -name $_.name -VsVersion $VsVersion +$vsVersion = $toolset.visualStudio.Version +$vsixPackagesList | ForEach-Object { + Install-VsixExtension -Url $_.url -Name $_.name -VSversion $vsVersion } Invoke-PesterTests -TestFile "Vsix" \ No newline at end of file