Ver código fonte

Excludes logging certain core commands

main
Eric Amodio 1 ano atrás
pai
commit
0ca0a0fd16
1 arquivos alterados com 6 adições e 1 exclusões
  1. +6
    -1
      src/system/command.ts

+ 6
- 1
src/system/command.ts Ver arquivo

@ -93,7 +93,12 @@ export function executeCoreCommand(
command: CoreCommands,
...args: T
): Thenable<U> {
if (command != 'setContext' && command !== 'vscode.executeDocumentSymbolProvider') {
if (
command != 'setContext' &&
command !== 'vscode.executeDocumentSymbolProvider' &&
command !== 'vscode.diff' &&
command !== 'vscode.open'
) {
Container.instance.telemetry.sendEvent('command/core', { command: command });
}
return commands.executeCommand<U>(command, ...args);

Carregando…
Cancelar
Salvar