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

Unified Diff: utils/pub/command_update.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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_lish.dart ('k') | utils/pub/curl_client.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 1dda303e7ccce261c80bfa7584f46f85da4b0c24..4757049cd26e335d63f0417f9c83d8af6557310f 100644
--- a/utils/pub/command_update.dart
+++ b/utils/pub/command_update.dart
@@ -4,6 +4,7 @@
library command_update;
+import 'dart:async';
import 'entrypoint.dart';
import 'log.dart' as log;
import 'pub.dart';
@@ -22,6 +23,6 @@ class UpdateCommand extends PubCommand {
} else {
future = entrypoint.updateDependencies(commandOptions.rest);
}
- return future.transform((_) => log.message("Dependencies updated!"));
+ return future.then((_) => log.message("Dependencies updated!"));
}
}
« no previous file with comments | « utils/pub/command_lish.dart ('k') | utils/pub/curl_client.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698