| Index: utils/pub/hosted_source.dart
|
| diff --git a/utils/pub/hosted_source.dart b/utils/pub/hosted_source.dart
|
| index 27901362a6ddd420a3a83b5b9c39f593397e02d7..2d811ca366d473e59f675318e16b695896bc639b 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']
|
| - .mappedBy((version) => new Version.parse(version))
|
| + .map((version) => new Version.parse(version))
|
| .toList();
|
| }).catchError((ex) {
|
| _throwFriendlyError(ex, parsed.first, parsed.last);
|
|
|