| Index: utils/pub/validator/name.dart
|
| diff --git a/utils/pub/validator/name.dart b/utils/pub/validator/name.dart
|
| index 412d6c3955989978be6e62a9feee8ee0ce7d9f46..542d9fdcfd3135057495b76407e6ac3aa2505e6c 100644
|
| --- a/utils/pub/validator/name.dart
|
| +++ b/utils/pub/validator/name.dart
|
| @@ -28,7 +28,7 @@ class NameValidator extends Validator {
|
| : super(entrypoint);
|
|
|
| Future validate() {
|
| - return new Future.of(() {
|
| + return new Future.sync(() {
|
| _checkName(entrypoint.root.name, 'Package name "${entrypoint.root.name}"',
|
| isPackage: true);
|
|
|
|
|