Skip to content

Commit

Permalink
Fix minimum PowerShell version to be 7.0.11 instead of 7.1.7 (PowerSh…
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmeister committed Aug 22, 2022
1 parent 987c169 commit 9c32168
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.1.7'
[Version] $minimumPowerShellCoreVersion = '7.0.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 9c32168

Please sign in to comment.