Index: utils/pub/validator.dart |
diff --git a/utils/pub/validator.dart b/utils/pub/validator.dart |
index 3e491a93a3954bc935116af4c4ded23c436ebb43..5c0c8507ce5e430629c677341f4737d2aedb681b 100644 |
--- a/utils/pub/validator.dart |
+++ b/utils/pub/validator.dart |
@@ -57,17 +57,17 @@ abstract class Validator { |
var warnings = flatten(validators.map((validator) => validator.warnings)); |
if (!errors.isEmpty) { |
- log.error("== Errors:"); |
+ log.error("Missing requirements:"); |
for (var error in errors) { |
- log.error("* $error"); |
+ log.error("* ${Strings.join(error.split('\n'), '\n ')}"); |
} |
log.error(""); |
} |
if (!warnings.isEmpty) { |
- log.warning("== Warnings:"); |
+ log.warning("Suggestions:"); |
for (var warning in warnings) { |
- log.warning("* $warning"); |
+ log.warning("* ${Strings.join(warning.split('\n'), '\n ')}"); |
} |
log.warning(""); |
} |