Explicit warn and error colours.

Former-commit-id: 61b2d24b5b
This commit is contained in:
Jaromir Kaspar 2020-05-29 12:58:41 +02:00
Родитель 75b0726699
Коммит 44991e45e0
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -344,7 +344,7 @@ Version $myVersion
[ValidateNotNullOrEmpty()]
$text
)
Write-Host "ERROR : $($text)" -ForegroundColor (Get-Host).PrivateData.ErrorForegroundColor
Write-Host "ERROR : $($text)" -ForegroundColor Red
}
##########################################################################################
@ -360,7 +360,7 @@ Version $myVersion
[ValidateNotNullOrEmpty()]
$text
)
Write-Host "WARN : $($text)" -ForegroundColor (Get-Host).PrivateData.WarningForegroundColor
Write-Host "WARN : $($text)" -ForegroundColor Yellow
}
##########################################################################################