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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/command/get.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/get.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command/get.dart b/sdk/lib/_internal/pub_generated/lib/src/command/get.dart
similarity index 82%
copy from sdk/lib/_internal/pub/lib/src/command/get.dart
copy to sdk/lib/_internal/pub_generated/lib/src/command/get.dart
index d2fc51311eceb0ef09faf2ec7a73c02815b5f6f3..70f75184ca0d4b52561608a1edb821d3bf735817 100644
--- a/sdk/lib/_internal/pub/lib/src/command/get.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/command/get.dart
@@ -19,15 +19,20 @@ class GetCommand extends PubCommand {
bool get isOffline => argResults["offline"];
GetCommand() {
- argParser.addFlag('offline',
+ argParser.addFlag(
+ 'offline',
help: 'Use cached packages instead of accessing the network.');
- argParser.addFlag('dry-run', abbr: 'n', negatable: false,
+ argParser.addFlag(
+ 'dry-run',
+ abbr: 'n',
+ negatable: false,
help: "Report what dependencies would change but don't change any.");
}
Future run() {
- return entrypoint.acquireDependencies(SolveType.GET,
+ return entrypoint.acquireDependencies(
+ SolveType.GET,
dryRun: argResults['dry-run']);
}
}

Powered by Google App Engine
This is Rietveld 408576698