We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39d1b55 commit b2fe54bCopy full SHA for b2fe54b
vscode-powershell.build.ps1
@@ -46,6 +46,10 @@ task Prerequisites {
46
function Assert-Pwsh ([Version]$RequiredPowerShellVersion) {
47
$ErrorActionPreference = 'Continue'
48
try {
49
+ if ($isLinux) {
50
+ Write-Host -Fore Magenta "pwsh which: $(which pwsh)"
51
+ }
52
+ Write-Host -Fore Magenta "pwsh command: $(Get-Command pwsh)"
53
$pwsh = (Get-Command -Name pwsh -CommandType Application -ErrorAction Stop)
54
| Sort-Object Version -Descending
55
| Select-Object -First 1
0 commit comments