Skip to content

Commit

Permalink
fix: small typo in vlocodeService class
Browse files Browse the repository at this point in the history
  • Loading branch information
Codeneos committed Jun 24, 2024
1 parent 34d1c06 commit 6c0f796
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/vscode-extension/src/lib/vlocodeService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,12 @@ export default class VlocodeService implements vscode.Disposable, SalesforceConn
}

private resetConnection(): void {
const x = container;
if (this._salesforceService) {
x.removeInstance(this._salesforceService);
container.removeInstance(this._salesforceService);
}

if (this._datapackService) {
x.removeInstance(this._datapackService);
container.removeInstance(this._datapackService);
}

this.connector = undefined;
Expand Down

0 comments on commit 6c0f796

Please sign in to comment.