Index: tools/gardening/bin/compare_failures.dart |
diff --git a/tools/gardening/bin/compare_failures.dart b/tools/gardening/bin/compare_failures.dart |
index b5d08aa239a107f04c2b69529ad94953384b75ec..6c3a4595d76ac31dbfd646b55a01460e1e4c4569 100644 |
--- a/tools/gardening/bin/compare_failures.dart |
+++ b/tools/gardening/bin/compare_failures.dart |
@@ -6,6 +6,7 @@ |
/// |
/// Use this to detect flakiness of failures, especially timeouts. |
+import 'dart:async'; |
import 'dart:io'; |
import 'package:args/args.dart'; |
@@ -26,7 +27,7 @@ void help(ArgParser argParser) { |
print(argParser.usage); |
} |
-main(List<String> args) async { |
+Future main(List<String> args) async { |
ArgParser argParser = createArgParser(); |
argParser.addOption("run-count", |
defaultsTo: "10", help: "How many previous runs should be fetched"); |