Index: utils/pub/command_lish.dart |
diff --git a/utils/pub/command_lish.dart b/utils/pub/command_lish.dart |
index 544fb9451fe1990177dd1dbd9c93240ea4dea5c2..26f95f94130dba10940f2243a6a441d05f029aa0 100644 |
--- a/utils/pub/command_lish.dart |
+++ b/utils/pub/command_lish.dart |
@@ -91,7 +91,7 @@ class LishCommand extends PubCommand { |
files = f; |
log.fine('Archiving and publishing ${entrypoint.root}.'); |
return createTarGz(files, baseDir: entrypoint.root.dir); |
- }).then(consumeInputStream).then((packageBytes) { |
+ }).then((stream) => stream.toBytes()).then((packageBytes) { |
// Show the package contents so the user can verify they look OK. |
var package = entrypoint.root; |
log.message( |