mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
nitpic
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
$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 {
|
||||
$VsixPackagesList | ForEach-Object {
|
||||
Install-VsixExtension -url $_.url -name $_.name -VsVersion $VsVersion
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user