Skip to content

Commit 0ca0a0f

Browse files
committed
Excludes logging certain core commands
1 parent 75d559e commit 0ca0a0f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/system/command.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,12 @@ export function executeCoreCommand<T extends [...unknown[]] = [], U = any>(
9393
command: CoreCommands,
9494
...args: T
9595
): Thenable<U> {
96-
if (command != 'setContext' && command !== 'vscode.executeDocumentSymbolProvider') {
96+
if (
97+
command != 'setContext' &&
98+
command !== 'vscode.executeDocumentSymbolProvider' &&
99+
command !== 'vscode.diff' &&
100+
command !== 'vscode.open'
101+
) {
97102
Container.instance.telemetry.sendEvent('command/core', { command: command });
98103
}
99104
return commands.executeCommand<U>(command, ...args);

0 commit comments

Comments
 (0)