From 7b5b14e0cf394a32db5d216509639f716e92652f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Fri, 2 Jan 2015 18:39:10 +0100 Subject: [PATCH] remove the spammy exit 0 output --- OpenRA.Mods.Common/UtilityCommands/CheckCodeStyle.cs | 6 ------ 1 file changed, 6 deletions(-) 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++;