diff --git a/OpenRA.Mods.Common/UtilityCommands/CheckCodeStyle.cs b/OpenRA.Mods.Common/UtilityCommands/CheckCodeStyle.cs index 2dfa356161..b4c36881bf 100644 --- a/OpenRA.Mods.Common/UtilityCommands/CheckCodeStyle.cs +++ b/OpenRA.Mods.Common/UtilityCommands/CheckCodeStyle.cs @@ -34,7 +34,6 @@ namespace OpenRA.Mods.Common.UtilityCommands foreach (var filePath in Directory.GetFiles(projectPath, "*.cs", SearchOption.AllDirectories)) console.Core.Environment.AddSourceCode(project, filePath, null); - console.OutputGenerated += OnOutputGenerated; console.ViolationEncountered += OnViolationEncountered; console.Start(new[] { project }, true); @@ -42,11 +41,6 @@ namespace OpenRA.Mods.Common.UtilityCommands Environment.Exit(1); } - void OnOutputGenerated(object sender, OutputEventArgs e) - { - Console.WriteLine(e.Output); - } - void OnViolationEncountered(object sender, ViolationEventArgs e) { violationCount++;