File tree Expand file tree Collapse file tree 4 files changed +13
-10
lines changed
src/client/pythonEnvironments/base Expand file tree Collapse file tree 4 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -256,8 +256,11 @@ class EnvironmentInfoService implements IEnvironmentInfoService {
256
256
} ) ;
257
257
}
258
258
259
- private static getInterpreterInfo ( env : PythonEnvInfo , allowPartialVersions ?: boolean ) : InterpreterInformation | undefined {
260
- if ( allowPartialVersions ) {
259
+ private static getInterpreterInfo (
260
+ env : PythonEnvInfo ,
261
+ allowPartialVersions ?: boolean ,
262
+ ) : InterpreterInformation | undefined {
263
+ if ( allowPartialVersions ) {
261
264
if ( env . version . major > - 1 && env . version . minor > - 1 && env . location ) {
262
265
return {
263
266
arch : env . arch ,
Original file line number Diff line number Diff line change @@ -163,9 +163,9 @@ export type BasicEnvInfo = {
163
163
*/
164
164
pythonRunCommand ?: string [ ] ;
165
165
identifiedUsingNativeLocator ?: boolean ;
166
- arch ?: Architecture ,
167
- ctime ?: number ,
168
- mtime ?: number ,
166
+ arch ?: Architecture ;
167
+ ctime ?: number ;
168
+ mtime ?: number ;
169
169
} ;
170
170
171
171
/**
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ export interface NativeEnvInfo {
28
28
* Path to the project directory when dealing with pipenv virtual environments.
29
29
*/
30
30
projectPath ?: string ;
31
- arch ?: 'X64' | 'X86' ,
32
- symlinks ?: string [ ] ,
33
- creationTime ?: number ,
34
- modifiedTime ?: number ,
31
+ arch ?: 'X64' | 'X86' ;
32
+ symlinks ?: string [ ] ;
33
+ creationTime ?: number ;
34
+ modifiedTime ?: number ;
35
35
}
36
36
37
37
export interface NativeEnvManagerInfo {
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export async function resolveBasicEnv(env: BasicEnvInfo): Promise<PythonEnvInfo>
64
64
await updateEnvUsingRegistry ( resolvedEnv ) ;
65
65
}
66
66
setEnvDisplayString ( resolvedEnv ) ;
67
- if ( env . arch && ! resolvedEnv . arch ) {
67
+ if ( env . arch && ! resolvedEnv . arch ) {
68
68
resolvedEnv . arch = env . arch ;
69
69
}
70
70
if ( env . ctime && env . mtime ) {
You can’t perform that action at this time.
0 commit comments