Skip to content

Commit 6e8a191

Browse files
authored
Move common.cli to electron-sandbox (microsoft#158174)
1 parent ef7831e commit 6e8a191

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vs/platform/telemetry/common/commonProperties.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ export async function resolveCommonProperties(
4949
result['common.nodeArch'] = arch;
5050
// __GDPR__COMMON__ "common.product" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
5151
result['common.product'] = product || 'desktop';
52-
// __GDPR__COMMON__ "common.cli" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
53-
result['common.cli'] = !!env['VSCODE_CLI'];
5452

5553
if (isInternalTelemetry) {
5654
// __GDPR__COMMON__ "common.msftInternal" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true }

src/vs/workbench/services/telemetry/electron-sandbox/workbenchCommonProperties.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export async function resolveWorkbenchCommonProperties(
4040
result['common.remoteAuthority'] = cleanRemoteAuthority(remoteAuthority);
4141
// __GDPR__COMMON__ "common.sandboxed" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
4242
result['common.sandboxed'] = process.sandboxed ? '1' : '0'; // TODO@bpasero remove this property when sandbox is on
43+
// __GDPR__COMMON__ "common.cli" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
44+
result['common.cli'] = !!process.env['VSCODE_CLI'];
4345

4446
return result;
4547
}

0 commit comments

Comments
 (0)