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

Unified Diff: utils/pub/command_update.dart

Issue 10821021: Fix an isEmpty call. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | « no previous file | no next file » | 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 c4a1045b360802681e9de429dc075452b046e887..10886cc89d7568859e39168200c1dcb619d05c3a 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 | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698