Chromium Code Reviews| Index: utils/pub/validator/license.dart |
| diff --git a/utils/pub/validator/license.dart b/utils/pub/validator/license.dart |
| index 46a1c4087669fb179451ea76b70112d5184361ff..c2ba090f6950ea70fc3800cbecd8599e1e44296a 100644 |
| --- a/utils/pub/validator/license.dart |
| +++ b/utils/pub/validator/license.dart |
| @@ -20,9 +20,8 @@ class LicenseValidator extends Validator { |
| r"^([a-zA-Z0-9]+[-_])?(LICENSE|COPYING)(\..*)?$"); |
| if (files.map(basename).some(licenseLike.hasMatch)) return; |
| - errors.add("Your package must have a COPYING or LICENSE file containing " |
| - "an open-source license. For more details, see " |
| - "http://pub.dartlang.org/doc/pub-lish.html."); |
| + errors.add("You must have a COPYING or LICENSE file in the root directory.\n" |
| + "An open-source license helps ensure people can legally use your code."); |
|
nweiz
2012/12/12 21:21:21
Long lines.
Bob Nystrom
2012/12/12 21:45:36
Done.
|
| }); |
| } |
| } |