Skip to content

Commit

Permalink
StyleCopTester should only analyze C# projects in a solution
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Aug 8, 2015
1 parent 035e89f commit 6e92da9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions StyleCop.Analyzers/StyleCopTester/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ private static async Task<ImmutableList<Diagnostic>> GetAnalyzerDiagnosticsAsync
// Make sure we analyze the projects in parallel
foreach (var project in solution.Projects)
{
if (project.Language != LanguageNames.CSharp)
{
continue;
}

projectDiagnosticTasks.Add(GetProjectAnalyzerDiagnostics(analyzers, project));
}

Expand Down

0 comments on commit 6e92da9

Please sign in to comment.