| 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.
|
|
|