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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/command/downgrade.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/downgrade.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/command/downgrade.dart b/sdk/lib/_internal/pub_generated/lib/src/command/downgrade.dart
index 1de7e16e5ea3791379ee1b154cf7f8e005c97163..fd38854c7e21d2ec9164a61d6f8ac9243b8929d1 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/command/downgrade.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/command/downgrade.dart
@@ -37,10 +37,11 @@ class DowngradeCommand extends PubCommand {
scheduleMicrotask(() {
try {
var dryRun = commandOptions['dry-run'];
- entrypoint.acquireDependencies(
- SolveType.DOWNGRADE,
- useLatest: commandOptions.rest,
- dryRun: dryRun).then((x0) {
+ new Future.value(
+ entrypoint.acquireDependencies(
+ SolveType.DOWNGRADE,
+ useLatest: commandOptions.rest,
+ dryRun: dryRun)).then((x0) {
try {
x0;
join0() {

Powered by Google App Engine
This is Rietveld 408576698