mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Run formatter first in pre-push hook (flutter/engine#31733)
This commit is contained in:
parent
8a4c640207
commit
ab45fca29c
@ -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}');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user