Browse Source

Ensures enabled flag is set

main
Eric Amodio 2 years ago
parent
commit
199cabac3d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/git/gitProviderService.ts

+ 2
- 0
src/git/gitProviderService.ts View File

@ -796,6 +796,8 @@ export class GitProviderService implements Disposable {
disabled = !(this.container.storage.getWorkspace('assumeRepositoriesOnStartup') ?? true);
}
this.container.telemetry.setGlobalAttribute('enabled', enabled);
if (this._context.enabled === enabled && this._context.disabled === disabled) return;
const promises = [];

Loading…
Cancel
Save