File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5050 CD ./docs
5151 & ./generate-examples.ps1
5252 & dotnet docfx docfx.json
53- if ($lastexitcode -ne 0) {
54- throw "docfx build failed with exit code $lastexitcode ."
53+ if ($LastExitCode -ne 0) {
54+ throw "docfx failed with exit code $LastExitCode ."
5555 }
5656
5757 # https://www.appveyor.com/docs/how-to/git-push/
Original file line number Diff line number Diff line change 44
55dotnet tool restore
66
7- if ($LASTEXITCODE -ne 0 ) {
8- throw " Tool restore failed with exit code $LASTEXITCODE "
7+ if ($LastExitCode -ne 0 ) {
8+ throw " Tool restore failed with exit code $LastExitCode "
99}
1010
1111$outputPath = [System.IO.Path ]::Combine([System.IO.Path ]::GetTempPath(), ' jetbrains-inspectcode-results.xml' )
1212$resultPath = [System.IO.Path ]::Combine([System.IO.Path ]::GetTempPath(), ' jetbrains-inspectcode-results.html' )
1313dotnet jb inspectcode JsonApiDotNetCore.sln -- build -- output= " $outputPath " -- profile= WarningSeverities.DotSettings -- properties:Configuration= Release -- severity= WARNING -- verbosity= WARN - dsl= GlobalAll - dsl= GlobalPerProduct - dsl= SolutionPersonal - dsl= ProjectPersonal
1414
15- if ($LASTEXITCODE -ne 0 ) {
16- throw " Code inspection failed with exit code $LASTEXITCODE "
15+ if ($LastExitCode -ne 0 ) {
16+ throw " Code inspection failed with exit code $LastExitCode "
1717}
1818
1919[xml ]$xml = Get-Content " $outputPath "
You can’t perform that action at this time.
0 commit comments