Revert "don't check auto-generated code"
This reverts commit 47e2d9d623.
This commit is contained in:
@@ -32,7 +32,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
||||
|
||||
var console = new StyleCopConsole(null, false, null, null, true);
|
||||
var project = new CodeProject(0, projectPath, new Configuration(null));
|
||||
foreach (var filePath in Directory.GetFiles(projectPath, "*.cs", SearchOption.AllDirectories).Where(p => !p.Contains(".Designer")))
|
||||
foreach (var filePath in Directory.GetFiles(projectPath, "*.cs", SearchOption.AllDirectories))
|
||||
console.Core.Environment.AddSourceCode(project, filePath, null);
|
||||
|
||||
console.ViolationEncountered += OnViolationEncountered;
|
||||
|
||||
Reference in New Issue
Block a user