| Index: utils/pub/hosted_source.dart
|
| diff --git a/utils/pub/hosted_source.dart b/utils/pub/hosted_source.dart
|
| index f8f82db2e3e3a3de4d6a1c87397b0d0dd5492506..53ca4a92953768136c591c262bb40917ccffa171 100644
|
| --- a/utils/pub/hosted_source.dart
|
| +++ b/utils/pub/hosted_source.dart
|
| @@ -40,7 +40,9 @@ class HostedSource extends Source {
|
|
|
| return httpGetString(fullUrl).transform((body) {
|
| var doc = json.parse(body);
|
| - return doc['versions'].mappedBy((version) => new Version.parse(version));
|
| + return doc['versions']
|
| + .mappedBy((version) => new Version.parse(version))
|
| + .toList();
|
| }).transformException((ex) {
|
| _throwFriendlyError(ex, parsed.first, parsed.last);
|
| });
|
|
|