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(""); |
} |