Skip to content

Commit 8a3887a

Browse files
committed
additional debugging output for appveyor build
1 parent 6c6ff43 commit 8a3887a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/appveyor.psm1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ function Invoke-AppveyorTest {
5353

5454
# set up env:PSModulePath to the build location, don't copy it to the "normal place"
5555
$analyzerVersion = ([xml](Get-Content "${CheckoutPath}\Engine\Engine.csproj")).SelectSingleNode(".//VersionPrefix")."#text".Trim()
56+
$majorVersion = ([System.Version]$analyzerVersion).Major
5657

57-
if ( $analyzerVersion -lt 5 ) {
58+
Get-ChildItem -rec -file -name "${CheckoutPath}/out" | Write-Verbose -Verbose
59+
if ( $majorVersion -lt 5 ) {
5860
$versionModuleDir = "${CheckoutPath}\out\PSScriptAnalyzer\${analyzerVersion}"
5961
Rename-Item "${versionModuleDir}" "${CheckoutPath}\out\PSScriptAnalyzer\PSScriptAnalyzer"
6062
$moduleDir = "${CheckoutPath}\out\PSScriptAnalyzer"

0 commit comments

Comments
 (0)