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

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

Issue 365993007: Support "pub downgrade". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 5 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/get.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command/get.dart b/sdk/lib/_internal/pub/lib/src/command/get.dart
index 3c066fdbabae3c7ebde91eac83233c9c7ff45add..7394e0c76ae1312e8c9037d4f175af677c3e4be3 100644
--- a/sdk/lib/_internal/pub/lib/src/command/get.dart
+++ b/sdk/lib/_internal/pub/lib/src/command/get.dart
@@ -7,6 +7,7 @@ library pub.command.get;
import 'dart:async';
import '../command.dart';
+import '../solver/version_solver.dart';
/// Handles the `get` pub command.
class GetCommand extends PubCommand {
@@ -25,6 +26,7 @@ class GetCommand extends PubCommand {
}
Future onRun() {
- return entrypoint.acquireDependencies(dryRun: commandOptions['dry-run']);
+ return entrypoint.acquireDependencies(SolveType.GET,
+ dryRun: commandOptions['dry-run']);
}
}
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/command/downgrade.dart ('k') | sdk/lib/_internal/pub/lib/src/command/global_deactivate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698