Browse Source

Fixes codelens updating when config changes

main
Eric Amodio 7 years ago
parent
commit
6504b7822c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/gitCodeLensProvider.ts

+ 2
- 0
src/gitCodeLensProvider.ts View File

@ -45,6 +45,8 @@ export default class GitCodeLensProvider implements CodeLensProvider {
}
reset() {
this._config = workspace.getConfiguration('').get<IConfig>('gitlens');
Logger.log('Triggering a reset of the git CodeLens provider');
this._onDidChangeCodeLensesEmitter.fire();
}

Loading…
Cancel
Save