Run formatter first in pre-push hook (flutter/engine#31733)

This commit is contained in:
Zachary Anderson 2022-03-01 13:44:05 -08:00 committed by GitHub
parent 8a4c640207
commit ab45fca29c

View File

@ -24,8 +24,8 @@ class PrePushCommand extends Command<bool> {
final bool verbose = globalResults!['verbose']! as bool;
final String flutterRoot = globalResults!['flutter']! as String;
final List<bool> checkResults = <bool>[
await _runClangTidy(flutterRoot, verbose),
await _runFormatter(flutterRoot, verbose),
await _runClangTidy(flutterRoot, verbose),
];
sw.stop();
io.stdout.writeln('pre-push checks finished in ${sw.elapsed}');