Browse Source

Fixes reversed var name

main
Eric Amodio 2 years ago
parent
commit
f6f63cc706
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/git/remotes/provider.ts

+ 2
- 2
src/git/remotes/provider.ts View File

@ -339,13 +339,13 @@ export abstract class RichRemoteProvider extends RemoteProvider {
@log()
disconnect(silent: boolean = false): void {
const disconnected = this._session != null;
const connected = this._session != null;
this.invalidClientExceptionCount = 0;
this._prsByCommit.clear();
this._session = null;
if (disconnected) {
if (connected) {
void Container.instance.context.workspaceState.update(this.connectedKey, false);
this._onDidChange.fire();

Loading…
Cancel
Save