瀏覽代碼

Excludes logging certain core commands

main
Eric Amodio 1 年之前
父節點
當前提交
0ca0a0fd16
共有 1 個檔案被更改,包括 6 行新增1 行删除
  1. +6
    -1
      src/system/command.ts

+ 6
- 1
src/system/command.ts 查看文件

@ -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);

Loading…
取消
儲存