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

Unified Diff: utils/pub/command_update.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/pub/command_help.dart ('k') | utils/pub/git_source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/command_update.dart
diff --git a/utils/pub/command_update.dart b/utils/pub/command_update.dart
index f296752b3ebb8acc7bb7c55e48c5fa22cc8ce131..16155e2bf9940e5d44bb0340953f1aa3fbc144ac 100644
--- a/utils/pub/command_update.dart
+++ b/utils/pub/command_update.dart
@@ -16,7 +16,7 @@ class UpdateCommand extends PubCommand {
Future onRun() {
var future;
- if (commandOptions.rest.isEmpty()) {
+ if (commandOptions.rest.isEmpty) {
future = entrypoint.updateAllDependencies();
} else {
future = entrypoint.updateDependencies(commandOptions.rest);
« no previous file with comments | « utils/pub/command_help.dart ('k') | utils/pub/git_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698