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!"); |
}); |
} |