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

Unified Diff: utils/pub/command_install.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/peg/pegparser.dart ('k') | utils/pub/command_lish.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/command_install.dart
diff --git a/utils/pub/command_install.dart b/utils/pub/command_install.dart
index 2263755488c50411af1cc9a029ff0b92741d55f2..001ba21cecf341a4c537766c7a0d14bc97b657c6 100644
--- a/utils/pub/command_install.dart
+++ b/utils/pub/command_install.dart
@@ -4,6 +4,8 @@
library command_install;
+import 'dart:async';
+
import 'entrypoint.dart';
import 'log.dart' as log;
import 'pub.dart';
@@ -14,7 +16,7 @@ class InstallCommand extends PubCommand {
String get usage => "pub install";
Future onRun() {
- return entrypoint.installDependencies().transform((_) {
+ return entrypoint.installDependencies().then((_) {
log.message("Dependencies installed!");
});
}
« no previous file with comments | « utils/peg/pegparser.dart ('k') | utils/pub/command_lish.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698