Skip to content

Commit

Permalink
handle user defined and discovered env duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
mbektas committed Mar 10, 2024
1 parent 1dca330 commit cbc5adf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -675,10 +675,10 @@ export class Registry implements IRegistry, IDisposable {
}

private _updateEnvironments() {
this._environments = [
this._environments = this._getUniqueEnvs([
...this._userSetEnvironments,
...this._discoveredEnvironments
];
]);
appData.discoveredPythonEnvs = JSON.parse(
JSON.stringify(this._discoveredEnvironments)
);
Expand Down

0 comments on commit cbc5adf

Please sign in to comment.