fixes telemetry levels

This commit is contained in:
SteVen Batten
2021-09-03 13:03:50 -07:00
parent 9408062d1a
commit 8fb7bbabf1
9 changed files with 13 additions and 13 deletions

View File

@@ -531,7 +531,7 @@ export class CodeApplication extends Disposable {
services.set(IURLService, new SyncDescriptor(NativeURLService));
// Telemetry
if (getTelemetryLevel(this.productService, this.environmentMainService) === TelemetryLevel.USER) {
if (getTelemetryLevel(this.productService, this.environmentMainService) >= TelemetryLevel.USER) {
const channel = getDelayedChannel(sharedProcessReady.then(client => client.getChannel('telemetryAppender')));
const appender = new TelemetryAppenderClient(channel);
const commonProperties = resolveCommonProperties(this.fileService, release(), hostname(), process.arch, this.productService.commit, this.productService.version, machineId, this.productService.msftInternalDomains, this.environmentMainService.installSourcePath);