Skip to content

Commit cfaa949

Browse files
committed
src: removes unused parameter in ConfigManager.clearConfigCache
1 parent abb5b68 commit cfaa949

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/configmanager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export class ConfigManager {
88
this._configCache = new Map();
99
}
1010

11-
clearConfigCache(e: vscode.ConfigurationChangeEvent) {
11+
clearConfigCache() {
1212
this._configCache.clear();
1313
}
1414

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class ExtensionLifecycleController {
105105

106106
onDidChangeConfiguration(e: vscode.ConfigurationChangeEvent) {
107107
if (!e.affectsConfiguration("dim")) return;
108-
this.configManager.clearConfigCache(e);
108+
this.configManager.clearConfigCache();
109109
vscode.window.visibleTextEditors.forEach((editor) => {
110110
const ad = this.decorators.get(editor);
111111
if (ad) {

0 commit comments

Comments
 (0)