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

Commit 0ede6f4

Browse files
committed
Fix pwsh version type
1 parent cbfaac1 commit 0ede6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vscode-powershell.build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ task Prerequisites {
4848

4949
}
5050

51-
function Assert-Pwsh ([string]$RequiredPowerShellVersion) {
51+
function Assert-Pwsh ([Version]$RequiredPowerShellVersion) {
5252
try {
5353
Write-Host -Foreground Magenta "PATH: $env:PATH"
5454
[Version]$pwshVersion = (Get-Command -Name pwsh -CommandType Application).Version

0 commit comments

Comments
 (0)