소스 검색

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

불러오는 중...
취소
저장