Skip to content

Commit 2792c5c

Browse files
committed
multiroot - send telemetry event when workspace#rootPath is accessed
1 parent 9acebf6 commit 2792c5c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/vs/workbench/api/node/extHost.api.impl.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,10 @@ export function createApiFactory(
377377
// namespace: workspace
378378
const workspace: typeof vscode.workspace = {
379379
get rootPath() {
380+
telemetryService.publicLog('api-getter', {
381+
name: 'workspace#rootPath',
382+
extension: extension.id
383+
});
380384
return extHostWorkspace.getPath();
381385
},
382386
set rootPath(value) {

0 commit comments

Comments
 (0)