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 97db6c0703e8a27f0dd793114438974674225e6d..51c5f0a5f7211928a9a2b5bcb4e5577b3b8b6c7d 100644 |
--- a/sdk/lib/_internal/pub/lib/src/command/get.dart |
+++ b/sdk/lib/_internal/pub/lib/src/command/get.dart |
@@ -13,9 +13,8 @@ import '../log.dart' as log; |
class GetCommand extends PubCommand { |
String get description => "Get the current package's dependencies."; |
String get usage => "pub get"; |
- final aliases = const ["install"]; |
- |
- bool get isOffline => commandOptions['offline']; |
+ List<String> get aliases => const ["install"]; |
+ bool get isOffline => commandOptions["offline"]; |
GetCommand() { |
commandParser.addFlag('offline', |