Run formatter first in pre-push hook (flutter/engine#31733)
This commit is contained in:
@@ -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}');
|
||||
|
||||
Reference in New Issue
Block a user