Make rules lint utility cleaner

This commit is contained in:
Gustas
2025-06-14 13:58:52 +03:00
committed by Matthias Mailänder
parent c27d6dd1b1
commit 7206a33d0d

View File

@@ -30,7 +30,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
{
var originalColor = Console.ForegroundColor;
Console.ForegroundColor = ConsoleColor.Red;
Console.Write("OpenRA.Utility(1,1): Error:");
Console.Write("Error: ");
Console.ForegroundColor = originalColor;
Console.WriteLine(e);
++errors;
@@ -44,7 +44,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
{
var originalColor = Console.ForegroundColor;
Console.ForegroundColor = ConsoleColor.Yellow;
Console.Write("OpenRA.Utility(1,1): Warning:");
Console.Write("Warning: ");
Console.ForegroundColor = originalColor;
Console.WriteLine(e);
++warnings;