We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e52077f + 52dc4f5 commit 05382b1Copy full SHA for 05382b1
lib/commands/devices.ts
@@ -1,6 +1,8 @@
1
export class DevicesCommand implements ICommand {
2
3
- public allowedParameters: ICommandParameter[] = [];
+ constructor(private $stringParameter: ICommandParameter) {}
4
+
5
+ public allowedParameters: ICommandParameter[] = [this.$stringParameter];
6
7
public execute(args: string[]): IFuture<void> {
8
return $injector.resolveCommand("device").execute(args);
0 commit comments