Index: utils/pub/command_uploader.dart |
diff --git a/utils/pub/command_uploader.dart b/utils/pub/command_uploader.dart |
index 977415b78c4b6df10f18a33cd942fc7eaa607db4..673a4bda015672b842332dbf19b5c36af56a0501 100644 |
--- a/utils/pub/command_uploader.dart |
+++ b/utils/pub/command_uploader.dart |
@@ -59,7 +59,7 @@ class UploaderCommand extends PubCommand { |
exit(exit_codes.USAGE); |
} |
- return defer(() { |
+ return new Future.of(() { |
var package = commandOptions['package']; |
if (package != null) return package; |
return new Entrypoint(path.current, cache).root.name; |