Skip to content

Commit

Permalink
(GH-526) set messaging to output as error
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Feb 11, 2016
1 parent 86af816 commit 0214d9e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -72,7 +72,7 @@ Elevating Permissions and running [`"$exeToRun`" $wrappedStatements]. This may t

$writeError = {
if ($EventArgs.Data -ne $null) {
Write-Host "[ERROR] $($EventArgs.Data)" -ForegroundColor $ErrorColor -BackgroundColor Black
Write-Error "$($EventArgs.Data)"
}
#foreach ($line in $EventArgs.Data) {
#if (!$line.IsNullOrEmpty) {
Expand Down

0 comments on commit 0214d9e

Please sign in to comment.