Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

Commit f725001

Browse files
committed
fix: remove erroneous spread that caused args to be double-spreaded
1 parent dac28bf commit f725001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension/api/commands.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class ExtCommands implements ExtCommandsAPI {
2929
* to execute the command because the desired command might be implemented on the client (or otherwise not in
3030
* this extension host).
3131
*/
32-
public executeCommand(command: string, ...args: any[]): Promise<any> {
32+
public executeCommand(command: string, args: any[]): Promise<any> {
3333
return this.proxy.$executeCommand(command, args)
3434
}
3535

0 commit comments

Comments
 (0)