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

Unified Diff: pkg/analyzer_cli/lib/src/build_mode.dart

Issue 2963323002: Add analytics to analyzer-cli and analysis server. (Closed)
Patch Set: dartfmt Created 3 years, 6 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
Index: pkg/analyzer_cli/lib/src/build_mode.dart
diff --git a/pkg/analyzer_cli/lib/src/build_mode.dart b/pkg/analyzer_cli/lib/src/build_mode.dart
index 34e2c163761d897208a454692f0e24c41e0ddc18..658b25196946ec0047d8552875356359794d403f 100644
--- a/pkg/analyzer_cli/lib/src/build_mode.dart
+++ b/pkg/analyzer_cli/lib/src/build_mode.dart
@@ -76,7 +76,7 @@ class AnalyzerWorkerLoop extends SyncWorkerLoop {
}
// Prepare options.
CommandLineOptions options =
- CommandLineOptions.parse(arguments, (String msg) {
+ CommandLineOptions.parse(arguments, printAndFail: (String msg) {
throw new ArgumentError(msg);
});
// Analyze and respond.

Powered by Google App Engine
This is Rietveld 408576698