mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 16:49:06 +01:00
fixes telemetry levels
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user