Index: utils/pub/git_source.dart |
diff --git a/utils/pub/git_source.dart b/utils/pub/git_source.dart |
index 2a7342755dc8df874e1cc6edb481c570257516dd..46ec7d232dbeaeee48c0b1067cf0dd9243876cdb 100644 |
--- a/utils/pub/git_source.dart |
+++ b/utils/pub/git_source.dart |
@@ -78,7 +78,7 @@ class GitSource extends Source { |
description.remove('ref'); |
if (fromLockFile) description.remove('resolved-ref'); |
- if (!description.isEmpty()) { |
+ if (!description.isEmpty) { |
var plural = description.length > 1; |
var keys = Strings.join(description.getKeys(), ', '); |
throw new FormatException("Invalid key${plural ? 's' : ''}: $keys."); |