File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/client/pythonEnvironments/base/locators/composite Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ export class EnvsCollectionService extends PythonEnvsWatcher<PythonEnvCollection
438
438
const validCondaInfoEnvs = new Set < string > ( ) ;
439
439
const duplicate = new Set < string > ( ) ;
440
440
// Duplicate, invalid conda environments.
441
- Promise . all (
441
+ await Promise . all (
442
442
( info ?. envs || [ ] ) . map ( async ( e ) => {
443
443
if ( duplicate . has ( e ) ) {
444
444
condaTelemetry . condaInfoEnvsDuplicate += 1 ;
@@ -461,7 +461,7 @@ export class EnvsCollectionService extends PythonEnvsWatcher<PythonEnvCollection
461
461
462
462
// Conda env_dirs
463
463
const validEnvDirs = new Set < string > ( ) ;
464
- Promise . all (
464
+ await Promise . all (
465
465
// eslint-disable-next-line camelcase
466
466
( info ?. envs_dirs || [ ] ) . map ( async ( e ) => {
467
467
if ( await pathExists ( e ) ) {
@@ -736,7 +736,7 @@ export class EnvsCollectionService extends PythonEnvsWatcher<PythonEnvCollection
736
736
737
737
// Intent is to capture time taken for discovery of all envs to complete the first time.
738
738
sendTelemetryEvent ( EventName . PYTHON_INTERPRETER_DISCOVERY , elapsedTime , {
739
- telVer : 4 ,
739
+ telVer : 5 ,
740
740
nativeDuration,
741
741
workspaceFolderCount : ( workspace . workspaceFolders || [ ] ) . length ,
742
742
interpreters : this . cache . getAllEnvs ( ) . length ,
You can’t perform that action at this time.
0 commit comments