Skip to content

Commit 36061f5

Browse files
committed
update the output in the case that we don't get a build.
I've noticed it's sometimes hard to determine went wrong in the build, this may help a bit
1 parent 18c43e6 commit 36061f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ function Start-ScriptAnalyzerBuild
197197
if ( $LASTEXITCODE -ne 0 ) { throw "$buildOutput" }
198198
}
199199
catch {
200+
Write-Warning $_
200201
Write-Error "Failure to build for PSVersion '$PSVersion' using framework '$framework' and configuration '$config'"
201202
return
202203
}

0 commit comments

Comments
 (0)