Skip to content

Commit 4fa9a7c

Browse files
committed
Sort diagnostics by id
1 parent 6b83c8f commit 4fa9a7c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

StyleCop.Analyzers.Status.Generator/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ internal static void Main(string[] args)
2727

2828
var diagnostics = reader.GetDiagnosticsAsync().Result;
2929

30+
diagnostics = diagnostics.Sort((a, b) => a.Id.CompareTo(b.Id));
31+
3032
Commit commit;
3133
string commitId;
3234

0 commit comments

Comments
 (0)