Remove ForegroundColor Red from Write-Error

This commit is contained in:
Jaime Bernardo 2024-10-21 16:39:48 +01:00
parent 6003aa8e17
commit e3a71e8f1c

View File

@ -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;
}