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

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

Issue 2874043002: Add --fatal-infos; hide --fatal-hints. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | pkg/analyzer_cli/lib/src/options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_cli/lib/src/driver.dart
diff --git a/pkg/analyzer_cli/lib/src/driver.dart b/pkg/analyzer_cli/lib/src/driver.dart
index 0ee3e6a61d8bae0e29dc4757f5e9284a2c27001a..0c3ca2eb240918b638370a8a2cb7bd5bd9bfd7b9 100644
--- a/pkg/analyzer_cli/lib/src/driver.dart
+++ b/pkg/analyzer_cli/lib/src/driver.dart
@@ -747,9 +747,9 @@ class Driver implements CommandLineStarter {
if (severity == ErrorSeverity.ERROR) {
return true;
} else if (severity == ErrorSeverity.WARNING &&
- (options.warningsAreFatal || options.hintsAreFatal)) {
+ (options.warningsAreFatal || options.infosAreFatal)) {
return true;
- } else if (severity == ErrorSeverity.INFO && options.hintsAreFatal) {
+ } else if (severity == ErrorSeverity.INFO && options.infosAreFatal) {
return true;
} else {
return false;
« no previous file with comments | « no previous file | pkg/analyzer_cli/lib/src/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698