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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/command/upgrade.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/upgrade.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/command/upgrade.dart b/sdk/lib/_internal/pub_generated/lib/src/command/upgrade.dart
index bd677193c70241c770f333b40629cfd4768d3b4c..92bf32a548dbcd1cab024888a75bea58be579417 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/command/upgrade.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/command/upgrade.dart
@@ -38,10 +38,11 @@ class UpgradeCommand extends PubCommand {
scheduleMicrotask(() {
try {
var dryRun = commandOptions['dry-run'];
- entrypoint.acquireDependencies(
- SolveType.UPGRADE,
- useLatest: commandOptions.rest,
- dryRun: dryRun).then((x0) {
+ new Future.value(
+ entrypoint.acquireDependencies(
+ SolveType.UPGRADE,
+ useLatest: commandOptions.rest,
+ dryRun: dryRun)).then((x0) {
try {
x0;
join0() {
« no previous file with comments | « sdk/lib/_internal/pub_generated/lib/src/command/serve.dart ('k') | sdk/lib/_internal/pub_generated/lib/src/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698