Skip to content

Commit

Permalink
Fixed output of script analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Sep 25, 2017
1 parent aca7b29 commit 136b455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/psake.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Task Analysis -Depends Init {
}
$results = $Files | ForEach-Object { Invoke-ScriptAnalyzer -Path $_ -SuppressedOnly }
if ($results) {
$results
$results | Select-Object -Property ScriptName,Line,RuleName,Severity,Message,Justification
Write-Warning 'Some issues are suppressed from script analysis.'
}

Expand Down

0 comments on commit 136b455

Please sign in to comment.