Sfoglia il codice sorgente

Ensures enabled flag is set

main
Eric Amodio 2 anni fa
parent
commit
199cabac3d
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      src/git/gitProviderService.ts

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

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

Caricamento…
Annulla
Salva