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

Unified Diff: sdk/lib/_internal/pub_generated/bin/pub.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/bin/pub.dart
diff --git a/sdk/lib/_internal/pub_generated/bin/pub.dart b/sdk/lib/_internal/pub_generated/bin/pub.dart
index 50ee1ce19a693af6f17fcd39e5ebb32ab06bbb1f..b6d3712df42f7f22287e0bdeb82cd497b8251199 100644
--- a/sdk/lib/_internal/pub_generated/bin/pub.dart
+++ b/sdk/lib/_internal/pub_generated/bin/pub.dart
@@ -253,7 +253,7 @@ Future validatePlatform() {
scheduleMicrotask(() {
try {
join0() {
- runProcess('ver', []).then((x0) {
+ new Future.value(runProcess('ver', [])).then((x0) {
try {
var result = x0;
join1() {
@@ -261,7 +261,7 @@ Future validatePlatform() {
}
if (result.stdout.join('\n').contains('XP')) {
log.error('Sorry, but pub is not supported on Windows XP.');
- flushThenExit(exit_codes.USAGE).then((x1) {
+ new Future.value(flushThenExit(exit_codes.USAGE)).then((x1) {
try {
x1;
join1();
« no previous file with comments | « sdk/lib/_internal/pub_generated/README.md ('k') | sdk/lib/_internal/pub_generated/lib/src/barback/asset_environment.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698