Skip to content

Commit 4e089e7

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Remove config listener for canary setting
1 parent 3ff5d64 commit 4e089e7

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

extensions/ql-vscode/src/variant-analysis/variant-analysis-view.ts

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import type { ConfigurationChangeEvent } from "vscode";
2-
import { ViewColumn, workspace } from "vscode";
1+
import { ViewColumn } from "vscode";
32
import type { WebviewPanelConfig } from "../common/vscode/abstract-webview";
43
import { AbstractWebview } from "../common/vscode/abstract-webview";
54
import {
@@ -48,23 +47,6 @@ export class VariantAnalysisView
4847
manager.registerView(this);
4948

5049
this.dataFlowPathsView = new DataFlowPathsView(app);
51-
52-
// Set up configuration change listener
53-
this.push(
54-
workspace.onDidChangeConfiguration(
55-
this.onConfigurationChanged.bind(this),
56-
),
57-
);
58-
}
59-
60-
/**
61-
* Handler for configuration changes
62-
*/
63-
private onConfigurationChanged(e: ConfigurationChangeEvent): void {
64-
// Check if the canary setting has changed
65-
if (e.affectsConfiguration("codeQL.canary")) {
66-
void this.updateUserSettings();
67-
}
6850
}
6951

7052
private async updateUserSettings(): Promise<void> {

0 commit comments

Comments
 (0)