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

Unified Diff: utils/pub/command_install.dart

Issue 10421026: Make pub handle missing git more gracefully. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to review. Created 8 years, 7 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 | utils/pub/command_list.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 a582e10dbaf595e1bd9180639930d4e4d89178c8..a1c20992af04814038ccd0489f5dd67e3a6015da 100644
--- a/utils/pub/command_install.dart
+++ b/utils/pub/command_install.dart
@@ -6,8 +6,8 @@
class InstallCommand extends PubCommand {
String get description() => "install the current package's dependencies";
- void onRun() {
- entrypoint.installDependencies().then((_) {
+ Future onRun() {
+ return entrypoint.installDependencies().transform((_) {
print('Dependencies installed!');
});
}
« no previous file with comments | « no previous file | utils/pub/command_list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698