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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/command/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/run.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/command/run.dart b/sdk/lib/_internal/pub_generated/lib/src/command/run.dart
index a340f79aad1dc5119ae4cf8f790c542ab22bc138..a9fee0f745d0e3ffd26c4bfb116b92b7277478d2 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/command/run.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/command/run.dart
@@ -41,15 +41,11 @@ class RunCommand extends PubCommand {
join1() {
var mode;
join2() {
- runExecutable(
- entrypoint,
- package,
- executable,
- args,
- mode: mode).then((x0) {
+ new Future.value(
+ runExecutable(entrypoint, 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