Skip to content

Commit

Permalink
Revert resolving from cache (#23662)
Browse files Browse the repository at this point in the history
Fixes #23661
  • Loading branch information
DonJayamanne authored Jun 24, 2024
1 parent 86219d1 commit c880947
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ class EnvironmentInfoService implements IEnvironmentInfoService {
}

const deferred = createDeferred<InterpreterInformation>();
const info = EnvironmentInfoService.getInterpreterInfo(env);
if (info !== undefined) {
this.cache.set(normCasePath(interpreterPath), deferred);
deferred.resolve(info);
return info;
}

this.cache.set(normCasePath(interpreterPath), deferred);
this._getEnvironmentInfo(env, priority)
.then((r) => {
Expand Down

0 comments on commit c880947

Please sign in to comment.