We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81bdc15 commit 511216cCopy full SHA for 511216c
appveyor.yml
@@ -48,7 +48,7 @@ test_script:
48
}
49
50
- pwsh: |
51
- if ($env:PowerShellEdition -eq 'PowerShellCore') {
+ if ($env:PowerShellEdition -eq 'PowerShellCore' -and $PSVersionTable.PSVersion -ge [version]'6.0.2') {
52
$modulePath = $env:PSModulePath.Split([System.IO.Path]::PathSeparator) | Where-Object { Test-Path $_} | Select-Object -First 1
53
Copy-Item "${env:APPVEYOR_BUILD_FOLDER}\out\PSScriptAnalyzer" "$modulePath\" -Recurse -Force
54
$testResultsFile = ".\TestResults.xml"
0 commit comments