Index: utils/pub/hosted_source.dart |
diff --git a/utils/pub/hosted_source.dart b/utils/pub/hosted_source.dart |
index 27901362a6ddd420a3a83b5b9c39f593397e02d7..81a80574578c629f6178467bcf32728a65e220d9 100644 |
--- a/utils/pub/hosted_source.dart |
+++ b/utils/pub/hosted_source.dart |
@@ -77,7 +77,7 @@ class HostedSource extends Source { |
.then((response) => response.stream), |
systemCache.createTempDir() |
]).then((args) { |
- var stream = args[0]; |
+ var stream = streamToInputStream(args[0]); |
tempDir = args[1]; |
return timeout(extractTarGz(stream, tempDir), HTTP_TIMEOUT, |
'fetching URL "$fullUrl"'); |