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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/command/global_run.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/command/global_run.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/command/global_run.dart b/sdk/lib/_internal/pub_generated/lib/src/command/global_run.dart
index ca85396c8343b043d21f1176621fa0515500a8da..ed4d93e20c5842afcd39e9a10b6570887ba59715 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/command/global_run.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/command/global_run.dart
@@ -42,14 +42,11 @@ class GlobalRunCommand extends PubCommand {
join1() {
var args = commandOptions.rest.skip(1).toList();
join2() {
- globals.runExecutable(
- package,
- executable,
- args,
- mode: mode).then((x0) {
+ new Future.value(
+ globals.runExecutable(package, executable, args, mode: mode)).then((x0) {
try {
var exitCode = x0;
- flushThenExit(exitCode).then((x1) {
+ new Future.value(flushThenExit(exitCode)).then((x1) {
try {
x1;
completer0.complete();

Powered by Google App Engine
This is Rietveld 408576698