| Index: lib/src/command/global_activate.dart
|
| diff --git a/lib/src/command/global_activate.dart b/lib/src/command/global_activate.dart
|
| index 5c389fad664e7ca848875b51fc8ac1fbc9cf6d27..0183d70267c31f6bd4198096e9ac83ebb263ef8d 100644
|
| --- a/lib/src/command/global_activate.dart
|
| +++ b/lib/src/command/global_activate.dart
|
| @@ -35,13 +35,13 @@ class GlobalActivateCommand extends PubCommand {
|
|
|
| Future run() {
|
| // Default to `null`, which means all executables.
|
| - var executables;
|
| + List<String> executables;
|
| if (argResults.wasParsed("executable")) {
|
| if (argResults.wasParsed("no-executables")) {
|
| usageException("Cannot pass both --no-executables and --executable.");
|
| }
|
|
|
| - executables = argResults["executable"];
|
| + executables = argResults["executable"] as List<String>;
|
| } else if (argResults["no-executables"]) {
|
| // An empty list means no executables.
|
| executables = [];
|
|
|