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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/source/git.dart

Issue 810033009: Regenerate pub using the latest version of async-await. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
Index: sdk/lib/_internal/pub_generated/lib/src/source/git.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/source/git.dart b/sdk/lib/_internal/pub_generated/lib/src/source/git.dart
index b8cabb24cd4ff8b66cc260172e0e965f48765e47..18b4954f17016b0718fa38a4eff6a4d0271b2b7b 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/source/git.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/source/git.dart
@@ -193,16 +193,14 @@ class GitSource extends CachedSource {
}
}
try {
- git.run(
- ["clean", "-d", "--force", "-x"],
- workingDir: package.dir).then((x0) {
+ new Future.value(
+ git.run(["clean", "-d", "--force", "-x"], workingDir: package.dir)).then((x0) {
trampoline0 = () {
trampoline0 = null;
try {
x0;
- git.run(
- ["reset", "--hard", "HEAD"],
- workingDir: package.dir).then((x1) {
+ new Future.value(
+ git.run(["reset", "--hard", "HEAD"], workingDir: package.dir)).then((x1) {
trampoline0 = () {
trampoline0 = null;
try {

Powered by Google App Engine
This is Rietveld 408576698