From ab45fca29cf38617d64d06eede02418c68f5ef9b Mon Sep 17 00:00:00 2001 From: Zachary Anderson Date: Tue, 1 Mar 2022 13:44:05 -0800 Subject: [PATCH] Run formatter first in pre-push hook (flutter/engine#31733) --- engine/src/flutter/tools/githooks/lib/src/pre_push_command.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/tools/githooks/lib/src/pre_push_command.dart b/engine/src/flutter/tools/githooks/lib/src/pre_push_command.dart index e1e36999f7e..0a735b8c589 100644 --- a/engine/src/flutter/tools/githooks/lib/src/pre_push_command.dart +++ b/engine/src/flutter/tools/githooks/lib/src/pre_push_command.dart @@ -24,8 +24,8 @@ class PrePushCommand extends Command { final bool verbose = globalResults!['verbose']! as bool; final String flutterRoot = globalResults!['flutter']! as String; final List checkResults = [ - await _runClangTidy(flutterRoot, verbose), await _runFormatter(flutterRoot, verbose), + await _runClangTidy(flutterRoot, verbose), ]; sw.stop(); io.stdout.writeln('pre-push checks finished in ${sw.elapsed}');