| Index: utils/pub/hosted_source.dart
|
| diff --git a/utils/pub/hosted_source.dart b/utils/pub/hosted_source.dart
|
| index dda00a42c5197878751c998cbf6983f6cca42c97..b60fa5b8ffe33c0233927e85a1925d0800aaf6fb 100644
|
| --- a/utils/pub/hosted_source.dart
|
| +++ b/utils/pub/hosted_source.dart
|
| @@ -97,7 +97,7 @@ class HostedSource extends Source {
|
| var parsed = _parseDescription(id.description);
|
| var url = parsed.last.replaceAll(new RegExp(r"^https?://"), "");
|
| var urlDir = replace(url, new RegExp(r'[<>:"\\/|?*%]'), (match) {
|
| - return '%${match[0].charCodeAt(0)}';
|
| + return '%${match[0].codeUnitAt(0)}';
|
| });
|
|
|
| return new Future.immediate(
|
|
|