Index: utils/pub/io.dart |
diff --git a/utils/pub/io.dart b/utils/pub/io.dart |
index c26f4dcfcc5e104be271b176c3df62d5fd84696a..60876c8f83f06db30076c59847963d18271c2ec6 100644 |
--- a/utils/pub/io.dart |
+++ b/utils/pub/io.dart |
@@ -911,7 +911,7 @@ ByteStream createTarGz(List contents, {baseDir}) { |
controller.signalError(e.error, e.stackTrace); |
controller.close(); |
}); |
- return new ByteStream(controller); |
+ return new ByteStream(controller.stream); |
} |
/// Exception thrown when an operation times out. |