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

Unified Diff: utils/pub/validator.dart

Issue 12262056: Clean up some warnings and deprecated calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | « utils/pub/utils.dart ('k') | utils/tests/pub/command_line_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/validator.dart
diff --git a/utils/pub/validator.dart b/utils/pub/validator.dart
index 72f65d1b3249e1630c79d4f2897e98e65b7b7748..4bfff037c11945d3ea2d7c97244200cf7631b722 100644
--- a/utils/pub/validator.dart
+++ b/utils/pub/validator.dart
@@ -75,7 +75,7 @@ abstract class Validator {
if (!errors.isEmpty) {
log.error("Missing requirements:");
for (var error in errors) {
- log.error("* ${Strings.join(error.split('\n'), '\n ')}");
+ log.error("* ${error.split('\n').join('\n ')}");
}
log.error("");
}
@@ -83,7 +83,7 @@ abstract class Validator {
if (!warnings.isEmpty) {
log.warning("Suggestions:");
for (var warning in warnings) {
- log.warning("* ${Strings.join(warning.split('\n'), '\n ')}");
+ log.warning("* ${warning.split('\n').join('\n ')}");
}
log.warning("");
}
« no previous file with comments | « utils/pub/utils.dart ('k') | utils/tests/pub/command_line_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698