Skip to content

Commit

Permalink
Update minimum PowerShell Core version to 7.2.11 as 7.0 is now EOL (P…
Browse files Browse the repository at this point in the history
…owerShell#1872)

* Update PSScriptAnalyzer.psm1

* use latest patch version 7.2.11
  • Loading branch information
bergmeister committed Sep 11, 2023
1 parent b0383ee commit 85ad15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/PSScriptAnalyzer.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $PSModuleRoot = $PSModule.ModuleBase

# Import the appropriate nested binary module based on the current PowerShell version
$binaryModuleRoot = $PSModuleRoot
[Version] $minimumPowerShellCoreVersion = '7.0.11'
[Version] $minimumPowerShellCoreVersion = '7.2.11'
if ($PSVersionTable.PSVersion.Major -ge 6) {
$binaryModuleRoot = Join-Path -Path $PSModuleRoot -ChildPath "PSv$($PSVersionTable.PSVersion.Major)"
# Minimum PowerShell Core version given by PowerShell Core support itself and
Expand Down

0 comments on commit 85ad15b

Please sign in to comment.