Skip to content

Commit

Permalink
updated to pipe errors to null for resharper tools
Browse files Browse the repository at this point in the history
  • Loading branch information
csMACnz committed Feb 12, 2015
1 parent 6c0587f commit 1df6ef6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.tasks.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ task coveralls-only {
exec { & ".\src\csmacnz.Coveralls\bin\$configuration\csmacnz.Coveralls.exe" --opencover -i opencovertests.xml --repoToken $env:COVERALLS_REPO_TOKEN --commitId $env:APPVEYOR_REPO_COMMIT --commitBranch $env:APPVEYOR_REPO_BRANCH --commitAuthor $env:APPVEYOR_REPO_COMMIT_AUTHOR --commitEmail $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL --commitMessage $env:APPVEYOR_REPO_COMMIT_MESSAGE --jobId $env:APPVEYOR_JOB_ID}
}

task dupfinder -ContinueOnError {
dupfinder /o="duplicateReport.xml" /show-text ".\src\csmacnz.Coveralls.sln"
task dupfinder {
dupfinder /o="duplicateReport.xml" /show-text ".\src\csmacnz.Coveralls.sln" 2> $null
[xml]$stats = Get-Content .\duplicateReport.xml
$anyDuplicates = $FALSE;

Expand Down Expand Up @@ -140,8 +140,8 @@ task dupfinder -ContinueOnError {
}
}

task inspect -ContinueOnError {
inspectcode /o="resharperReport.xml" ".\src\csmacnz.Coveralls.sln"
task inspect {
inspectcode /o="resharperReport.xml" ".\src\csmacnz.Coveralls.sln" 2> $null
[xml]$stats = Get-Content .\resharperReport.xml
$anyErrors = $FALSE;
$errors = $stats.SelectNodes("/Report/IssueTypes/IssueType")
Expand Down

0 comments on commit 1df6ef6

Please sign in to comment.