mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
fix target
This commit is contained in:
@@ -273,7 +273,8 @@ function Get-PacmanVersion {
|
||||
|
||||
function Get-ShellTarget {
|
||||
$shells = Get-ChildItem C:\shells -File | Select-Object @{n="Name";e={
|
||||
if ($_.Name -eq 'bash.exe') {"$($_.Name) (Default)"} else {$_.Name}}},@{n="Target";e={$_.Target[0]}} | Sort-Object Name
|
||||
$name = $_.Name
|
||||
if ($name -eq 'bash.exe') {"$name (Default)"} else {$name}}},@{n="Target";e={@($_.Target)[0]}} | Sort-Object Name
|
||||
$shells | New-MDTable -Columns ([ordered]@{Name = "left"; Target = "left";})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user