Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b2fe54b

Browse files
committed
fixup! More error scaffolding
1 parent 39d1b55 commit b2fe54b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vscode-powershell.build.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ task Prerequisites {
4646
function Assert-Pwsh ([Version]$RequiredPowerShellVersion) {
4747
$ErrorActionPreference = 'Continue'
4848
try {
49+
if ($isLinux) {
50+
Write-Host -Fore Magenta "pwsh which: $(which pwsh)"
51+
}
52+
Write-Host -Fore Magenta "pwsh command: $(Get-Command pwsh)"
4953
$pwsh = (Get-Command -Name pwsh -CommandType Application -ErrorAction Stop)
5054
| Sort-Object Version -Descending
5155
| Select-Object -First 1

0 commit comments

Comments
 (0)