Index: utils/pub/validator/dependency.dart |
diff --git a/utils/pub/validator/dependency.dart b/utils/pub/validator/dependency.dart |
index d66059decb364025f86d496207100c42b35a4f31..711e82da91242309b8b67015e098b733d429b667 100644 |
--- a/utils/pub/validator/dependency.dart |
+++ b/utils/pub/validator/dependency.dart |
@@ -31,12 +31,12 @@ class DependencyValidator extends Validator { |
'package.\n' |
'Pub enables "package:${entrypoint.root.name}" imports ' |
'implicitly.'); |
- return new Future.immediate(null); |
+ return new Future.value(); |
} |
if (dependency.constraint.isAny) _warnAboutConstraint(dependency); |
- return new Future.immediate(null); |
+ return new Future.value(); |
}); |
} |