|
@ -66,7 +66,7 @@ export function executeCoreCommand( |
|
|
command: CoreCommands, |
|
|
command: CoreCommands, |
|
|
...args: T |
|
|
...args: T |
|
|
): Thenable<U> { |
|
|
): Thenable<U> { |
|
|
Container.instance.telemetry.sendEvent('command', { command: command }); |
|
|
|
|
|
|
|
|
Container.instance.telemetry.sendEvent('command/core', { command: command }); |
|
|
return commands.executeCommand<U>(command, ...args); |
|
|
return commands.executeCommand<U>(command, ...args); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -80,7 +80,7 @@ export function executeCoreGitCommand( |
|
|
command: CoreGitCommands, |
|
|
command: CoreGitCommands, |
|
|
...args: T |
|
|
...args: T |
|
|
): Thenable<U> { |
|
|
): Thenable<U> { |
|
|
Container.instance.telemetry.sendEvent('command', { command: command }); |
|
|
|
|
|
|
|
|
Container.instance.telemetry.sendEvent('command/core', { command: command }); |
|
|
return commands.executeCommand<U>(command, ...args); |
|
|
return commands.executeCommand<U>(command, ...args); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|