File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 99    <PackageVersion  Include =" Newtonsoft.Json"   Version =" 13.0.3"   />
1010    <PackageVersion  Include =" Pluralize.NET"   Version =" 1.0.2"   />
1111    <PackageVersion  Include =" PowerShellStandard.Library"   Version =" 5.1.1"   />
12+     <!--  Please update minimumPowerShellCoreVersion in PSScriptAnalyzer.psm1 when updating below SMA version for better user-facing error message --> 
1213    <PackageVersion  Include =" System.Management.Automation"   Version =" 7.4.7"   />
1314    <PackageVersion  Include =" System.Reflection.TypeExtensions"   Version =" 4.7.0"   />
1415  </ItemGroup >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ $PSModuleRoot = $PSModule.ModuleBase
99
1010#  Import the appropriate nested binary module based on the current PowerShell version
1111$binaryModuleRoot  =  $PSModuleRoot 
12- [Version ] $minimumPowerShellCoreVersion  =  ' 7.2.11 ' 
12+ [Version ] $minimumPowerShellCoreVersion  =  ' 7.4.7 ' 
1313if  ($PSVersionTable.PSVersion.Major   -ge  6 ) {
1414    $binaryModuleRoot  =  Join-Path  - Path $PSModuleRoot  - ChildPath " PSv$ ( $PSVersionTable.PSVersion.Major  ) " 
1515    #  Minimum PowerShell Core version given by PowerShell Core support itself and
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments