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

@@ -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));
}