Index: utils/pub/command_uploader.dart |
diff --git a/utils/pub/command_uploader.dart b/utils/pub/command_uploader.dart |
index eb3cd4ac0f0a685429a09efc37d590d82158c646..1e184a3194360eea584f58d60cfeee17cc06ac95 100644 |
--- a/utils/pub/command_uploader.dart |
+++ b/utils/pub/command_uploader.dart |
@@ -60,7 +60,7 @@ class UploaderCommand extends PubCommand { |
return new Future.immediate(null).then((_) { |
var package = commandOptions['package']; |
- if (package != null) return new Future.immediate(package); |
+ if (package != null) return package; |
return Entrypoint.load(path.current, cache) |
.then((entrypoint) => entrypoint.root.name); |
}).then((package) { |