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

Unified Diff: lib/src/options.dart

Issue 1412293005: Defer to engine for option-aware context config. (Closed) Base URL: https://github.com/dart-lang/analyzer_cli.git@master
Patch Set: Created 5 years, 2 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 | « lib/src/driver.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/options.dart
diff --git a/lib/src/options.dart b/lib/src/options.dart
index ac1463ba491369ce2098dac54e1e4d10972544a3..966090e036bcf82c422c6f68e5a2e8816a9a5f5f 100644
--- a/lib/src/options.dart
+++ b/lib/src/options.dart
@@ -6,6 +6,7 @@ library analyzer_cli.src.options;
import 'dart:io';
+import 'package:analyzer_cli/src/driver.dart';
import 'package:args/args.dart';
import 'package:cli_util/cli_util.dart' show getSdkDir;
@@ -18,7 +19,7 @@ ExitHandler exitHandler = exit;
/// Print the given message to stderr and exit with the given [exitCode]
void printAndFail(String message, {int exitCode: 15}) {
- stderr.writeln(message);
+ errorSink.writeln(message);
exitHandler(exitCode);
}
« no previous file with comments | « lib/src/driver.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698