Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eng/common/tools.ps1')
-rw-r--r--eng/common/tools.ps14
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
}
}