mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 12:47:14 +00:00
fixes telemetry levels
This commit is contained in:
@@ -143,7 +143,7 @@ class CliMain extends Disposable {
|
||||
|
||||
// Telemetry
|
||||
const appenders: AppInsightsAppender[] = [];
|
||||
if (getTelemetryLevel(productService, environmentService) === TelemetryLevel.USER) {
|
||||
if (getTelemetryLevel(productService, environmentService) >= TelemetryLevel.USER) {
|
||||
if (productService.aiConfig && productService.aiConfig.asimovKey) {
|
||||
appenders.push(new AppInsightsAppender('monacoworkbench', null, productService.aiConfig.asimovKey));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user