remove the spammy exit 0 output
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user