| Index: utils/pub/hosted_source.dart
|
| diff --git a/utils/pub/hosted_source.dart b/utils/pub/hosted_source.dart
|
| index b774bc01ef8d8c005a0cef55a7b3ca20537d9240..81a80574578c629f6178467bcf32728a65e220d9 100644
|
| --- a/utils/pub/hosted_source.dart
|
| +++ b/utils/pub/hosted_source.dart
|
| @@ -39,7 +39,7 @@ class HostedSource extends Source {
|
| return httpClient.read(fullUrl).then((body) {
|
| var doc = json.parse(body);
|
| return doc['versions']
|
| - .map((version) => new Version.parse(version))
|
| + .mappedBy((version) => new Version.parse(version))
|
| .toList();
|
| }).catchError((ex) {
|
| _throwFriendlyError(ex, parsed.first, parsed.last);
|
|
|