Browse Source

Fixes command execute issue

main
Eric Amodio 2 years ago
parent
commit
87f5910d11
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/system/command.ts

+ 1
- 1
src/system/command.ts View File

@ -41,7 +41,7 @@ export function executeCommand(
command: SupportedCommands, command: SupportedCommands,
...args: T ...args: T
): Thenable<U> { ): Thenable<U> {
return commands.executeCommand<U>(command, args);
return commands.executeCommand<U>(command, ...args);
} }
export function executeCoreCommand<T = unknown, U = any>(command: CoreCommands, arg: T): Thenable<U>; export function executeCoreCommand<T = unknown, U = any>(command: CoreCommands, arg: T): Thenable<U>;

Loading…
Cancel
Save