| Index: utils/pub/hosted_source.dart
|
| diff --git a/utils/pub/hosted_source.dart b/utils/pub/hosted_source.dart
|
| index a2f46e0726fa45ca79594af6f91e85a937eccc1c..0ed4e0c080bb20219dcfeae01d21e624ddfae385 100644
|
| --- a/utils/pub/hosted_source.dart
|
| +++ b/utils/pub/hosted_source.dart
|
| @@ -63,7 +63,7 @@ class HostedSource extends Source {
|
|
|
| /// Downloads a package from the site and unpacks it.
|
| Future<bool> install(PackageId id, String destPath) {
|
| - return defer(() {
|
| + return new Future.of(() {
|
| var url = _makeVersionUrl(id, (server, package, version) =>
|
| "$server/packages/$package/versions/$version.tar.gz");
|
| log.io("Install package from $url.");
|
|
|