diff options
Diffstat (limited to 'eng/common/tools.ps1')
-rw-r--r-- | eng/common/tools.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index 3983d719be3..538a0262b52 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -107,11 +107,11 @@ function Write-PipelineTaskError { if(!$ci) { if($Type -eq 'error') { - Write-Error $Message + Write-Host $Message -ForegroundColor Red return } elseif ($Type -eq 'warning') { - Write-Warning $Message + Write-Host $Message -ForegroundColor Yellow return } } |