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

Unified Diff: utils/pub/io.dart

Issue 10942032: Fix git on non-Windows. Fix create_sdk on machines using svn. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « tools/create_sdk.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/io.dart
diff --git a/utils/pub/io.dart b/utils/pub/io.dart
index e39a9ccbe08c9fce5fc9d1310e3c390526db13ea..19117f541d6f98d7e5d23417999e89e2d91ef8c1 100644
--- a/utils/pub/io.dart
+++ b/utils/pub/io.dart
@@ -543,9 +543,9 @@ Future<bool> get isGitInstalled {
// TODO(rnystrom): The sleep is to pump the message queue. Can use
// Future.immediate() when #3356 is fixed.
return sleep(0).transform((_) => _isGitInstalledCache);
-
- return _gitCommand.transform((git) => git != null);
}
+
+ return _gitCommand.transform((git) => git != null);
}
/// Run a git process with [args] from [workingDir].
« no previous file with comments | « tools/create_sdk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698