Skip to content

Commit 85adf80

Browse files
committed
Update areSameEnv
1 parent 33d30c9 commit 85adf80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/pythonEnvironments/base/envsCache.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { cloneDeep } from 'lodash';
55
import { getGlobalPersistentStore, IPersistentStore } from '../common/externalDependencies';
66
import { PythonEnvInfo } from './info';
7-
import { areSameEnvironment } from './info/env';
7+
import { areSameEnv } from './info/env';
88

99
/**
1010
* Represents the environment info cache to be used by the cache locator.
@@ -81,7 +81,7 @@ export class PythonEnvInfoCache implements IEnvsCache {
8181
}
8282

8383
public filterEnvs(env: PythonEnvInfo | string): PythonEnvInfo[] | undefined {
84-
const result = this.envsList?.filter((info) => areSameEnvironment(info, env));
84+
const result = this.envsList?.filter((info) => areSameEnv(info, env));
8585

8686
if (result) {
8787
return cloneDeep(result);

0 commit comments

Comments
 (0)