Skip to content

Commit 0903cad

Browse files
grievejiafacebook-github-bot
authored andcommitted
Sort errors in pyre check
Reviewed By: shannonzhu Differential Revision: D30503856 fbshipit-source-id: d489b96a2e74f887c96f78b4d614510baa5e2f7a
1 parent d724495 commit 0903cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/command/newCheckCommand.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ let do_check configuration =
151151
let compute_errors ~configuration ~build_system () =
152152
let errors, ast_environment = do_check configuration in
153153
List.map
154-
errors
154+
(List.sort ~compare:Analysis.AnalysisError.compare errors)
155155
~f:(Newserver.RequestHandler.instantiate_error ~build_system ~configuration ~ast_environment)
156156

157157

0 commit comments

Comments
 (0)