Skip to content

Commit

Permalink
Fixes default value for extension disabled state
Browse files Browse the repository at this point in the history
  • Loading branch information
axosoft-ramint committed Jul 19, 2023
1 parent bb6bce0 commit 2ddb8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git/gitProviderService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ export class GitProviderService implements Disposable {
let disabled = !enabled;
// If we think we should be disabled during startup, check if we have a saved value from the last time this repo was loaded
if (!enabled && this._initializing) {
disabled = !(this.container.storage.getWorkspace('assumeRepositoriesOnStartup') ?? true);
disabled = !(this.container.storage.getWorkspace('assumeRepositoriesOnStartup') ?? false);
}

this.container.telemetry.setGlobalAttribute('enabled', enabled);
Expand Down

0 comments on commit 2ddb8f0

Please sign in to comment.