Skip to content

Commit

Permalink
setup.ps1: Update to correctly detect old powershell.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejKafka committed Jun 16, 2023
1 parent b8609c0 commit 78641cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $PSDefaultParameterValues = @{
}


if ($PSVersionTable.PSVersion -lt 7.0) {
if ($PSVersionTable.PSVersion -lt "7.0") {
throw ("Pog currently requires at least PowerShell Core 7.0. " +`
"Support for PowerShell 5 and older PowerShell Core versions is in-progress.")
}
Expand Down

0 comments on commit 78641cc

Please sign in to comment.