Index: pkg/analyzer_cli/bin/analyzer.dart |
diff --git a/pkg/analyzer_cli/bin/analyzer.dart b/pkg/analyzer_cli/bin/analyzer.dart |
index 3172b0fab730f9adbc26652bfc058dcb5d13936a..36c905698877ce1ac488fef06e3ac8f7bbffc404 100644 |
--- a/pkg/analyzer_cli/bin/analyzer.dart |
+++ b/pkg/analyzer_cli/bin/analyzer.dart |
@@ -6,7 +6,9 @@ |
import 'package:analyzer_cli/starter.dart'; |
/// The entry point for the command-line analyzer. |
-void main(List<String> args) { |
+main(List<String> args) async { |
CommandLineStarter starter = new CommandLineStarter(); |
- starter.start(args); |
+ |
+ // Wait for the starter to complete. |
+ await starter.start(args); |
} |