Index: utils/pub/git_source.dart |
=================================================================== |
--- utils/pub/git_source.dart (revision 13683) |
+++ utils/pub/git_source.dart (working copy) |
@@ -66,7 +66,7 @@ |
/** |
* Ensures [description] is a Git URL. |
*/ |
- void validateDescription(description, [bool fromLockFile = false]) { |
+ void validateDescription(description, {bool fromLockFile: false}) { |
// A single string is assumed to be a Git URL. |
if (description is String) return; |
if (description is! Map || !description.containsKey('url')) { |