mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-16 10:58:34 -05:00
Fixes codelens updating when config changes
This commit is contained in:
@@ -45,6 +45,8 @@ export default class GitCodeLensProvider implements CodeLensProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
reset() {
|
reset() {
|
||||||
|
this._config = workspace.getConfiguration('').get<IConfig>('gitlens');
|
||||||
|
|
||||||
Logger.log('Triggering a reset of the git CodeLens provider');
|
Logger.log('Triggering a reset of the git CodeLens provider');
|
||||||
this._onDidChangeCodeLensesEmitter.fire();
|
this._onDidChangeCodeLensesEmitter.fire();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user