Index: utils/pub/pub.dart |
diff --git a/utils/pub/pub.dart b/utils/pub/pub.dart |
index a5d8340f5fd9b25a0eeaead2fb7da01eebb92f24..63880edca382efd60829e9ed0d691b075c1ca61e 100644 |
--- a/utils/pub/pub.dart |
+++ b/utils/pub/pub.dart |
@@ -68,7 +68,7 @@ main() { |
return; |
} |
- if (globalOptions['help'] || globalOptions.rest.isEmpty()) { |
+ if (globalOptions['help'] || globalOptions.rest.isEmpty) { |
printUsage(); |
return; |
} |
@@ -255,7 +255,7 @@ abstract class PubCommand { |
print('Usage: $usage'); |
var commandUsage = commandParser.getUsage(); |
- if (!commandUsage.isEmpty()) { |
+ if (!commandUsage.isEmpty) { |
print(''); |
print(commandUsage); |
} |