File tree Expand file tree Collapse file tree
extensions/ql-vscode/src/common/vscode Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ export class ExtensionTelemetryListener
9393 e : ConfigurationChangeEvent ,
9494 ) : Promise < void > {
9595 if (
96- e . affectsConfiguration ( "codeQL.telemetry.enableTelemetry" ) ||
97- e . affectsConfiguration ( "telemetry.enableTelemetry" ) ||
98- e . affectsConfiguration ( "telemetry.telemetryLevel" )
96+ e . affectsConfiguration ( ENABLE_TELEMETRY . qualifiedName ) ||
97+ e . affectsConfiguration ( GLOBAL_ENABLE_TELEMETRY . qualifiedName ) ||
98+ e . affectsConfiguration ( GLOBAL_TELEMETRY_LEVEL . qualifiedName )
9999 ) {
100100 await this . initialize ( ) ;
101101 }
@@ -104,7 +104,7 @@ export class ExtensionTelemetryListener
104104 // Re-request if codeQL.canary is being set to `true` and telemetry
105105 // is not currently enabled.
106106 if (
107- e . affectsConfiguration ( "codeQL.canary" ) &&
107+ e . affectsConfiguration ( CANARY_FEATURES . qualifiedName ) &&
108108 CANARY_FEATURES . getValue ( ) &&
109109 ! ENABLE_TELEMETRY . getValue ( )
110110 ) {
You can’t perform that action at this time.
0 commit comments