Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: pkg/analyzer_cli/bin/analyzer.dart

Issue 2963323002: Add analytics to analyzer-cli and analysis server. (Closed)
Patch Set: update from review comments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer_cli/analysis_options.yaml ('k') | pkg/analyzer_cli/lib/src/build_mode.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « pkg/analyzer_cli/analysis_options.yaml ('k') | pkg/analyzer_cli/lib/src/build_mode.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698