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

Unified Diff: sdk/lib/_internal/pub/lib/src/command.dart

Issue 581283003: Get rid of Chain.track in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/lib/src/command.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command.dart b/sdk/lib/_internal/pub/lib/src/command.dart
index d70bf1733ef3ed52ef1c563ae8af384e948be04a..0c92abda4ea79bf6f6470adc3bb8b093144e0920 100644
--- a/sdk/lib/_internal/pub/lib/src/command.dart
+++ b/sdk/lib/_internal/pub/lib/src/command.dart
@@ -197,7 +197,7 @@ abstract class PubCommand {
_cache = new SystemCache.withSources(cacheDir, isOffline: isOffline);
_globals = new GlobalPackages(_cache);
- return syncFuture(onRun);
+ return new Future.sync(onRun);
}
/// Override this to perform the specific command.
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart ('k') | sdk/lib/_internal/pub/lib/src/command/uploader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698