Fixes codelens updating when config changes

This commit is contained in:
Eric Amodio
2017-02-15 13:55:33 -05:00
parent 25aa1fe3ca
commit 6504b7822c

View File

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