| Index: utils/pub/git_source.dart
|
| diff --git a/utils/pub/git_source.dart b/utils/pub/git_source.dart
|
| index cada5abca41e33c657da335402c35b8628706d36..ae7f53b1a2489d61a1cf4f9c7fefc5ba08121597 100644
|
| --- a/utils/pub/git_source.dart
|
| +++ b/utils/pub/git_source.dart
|
| @@ -47,8 +47,8 @@ class GitSource extends Source {
|
| * The package name of a Git repo is the name of the directory into which
|
| * it'll be cloned.
|
| */
|
| - String packageName(PackageId id) =>
|
| - basename(id.description).replaceFirst(const RegExp("\.git\$"), "");
|
| + String packageName(description) =>
|
| + basename(description).replaceFirst(const RegExp("\.git\$"), "");
|
|
|
| /**
|
| * Ensures [description] is a Git URL.
|
|
|