Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: utils/pub/command_help.dart

Issue 11238035: Make isEmpty a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/peg/pegparser.dart ('k') | utils/pub/command_update.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/command_help.dart
diff --git a/utils/pub/command_help.dart b/utils/pub/command_help.dart
index 7fdf510944cf092bb5c35863e1ce7470c06ea7ea..938a50e7a89e1aae189d8b4cf2201f57d77c8b0d 100644
--- a/utils/pub/command_help.dart
+++ b/utils/pub/command_help.dart
@@ -13,7 +13,7 @@ class HelpCommand extends PubCommand {
bool get requiresEntrypoint => false;
Future onRun() {
- if (commandOptions.rest.isEmpty()) {
+ if (commandOptions.rest.isEmpty) {
printUsage();
} else {
pubCommands[commandOptions.rest[0]].printUsage();
« no previous file with comments | « utils/peg/pegparser.dart ('k') | utils/pub/command_update.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698