remove the spammy exit 0 output

This commit is contained in:
Matthias Mailänder
2015-01-02 18:39:10 +01:00
parent 9dd607c846
commit 7b5b14e0cf

View File

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