mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-03 03:19:08 +08:00
Remove ForegroundColor Red from Write-Error
This commit is contained in:
parent
6003aa8e17
commit
e3a71e8f1c
@ -51,13 +51,13 @@ foreach ($project in $projects) {
|
||||
}
|
||||
|
||||
if ($errorTable.Count -gt 0) {
|
||||
Write-Error -ForegroundColor Red "Verification failed for the following projects:`n"
|
||||
Write-Error "Verification failed for the following projects:`n"
|
||||
$errorTable.Keys | ForEach-Object {
|
||||
Write-Error -ForegroundColor Red $_`:;
|
||||
Write-Error $_`:;
|
||||
$errorTable[$_] | ForEach-Object {
|
||||
Write-Error -ForegroundColor Red "$($_.ExpectedConfiguration)=$($_.Configuration)";
|
||||
Write-Error "$($_.ExpectedConfiguration)=$($_.Configuration)";
|
||||
};
|
||||
Write-Error -ForegroundColor Red `r
|
||||
Write-Error `r
|
||||
}
|
||||
exit 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user