Skip to content

Commit 63a1c13

Browse files
committed
Fix formatting
1 parent 84c1d17 commit 63a1c13

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

src/client/pythonEnvironments/base/info/environmentInfoService.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,11 @@ class EnvironmentInfoService implements IEnvironmentInfoService {
256256
});
257257
}
258258

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) {
261264
if (env.version.major > -1 && env.version.minor > -1 && env.location) {
262265
return {
263266
arch: env.arch,

src/client/pythonEnvironments/base/locator.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ export type BasicEnvInfo = {
163163
*/
164164
pythonRunCommand?: string[];
165165
identifiedUsingNativeLocator?: boolean;
166-
arch?: Architecture,
167-
ctime?: number,
168-
mtime?: number,
166+
arch?: Architecture;
167+
ctime?: number;
168+
mtime?: number;
169169
};
170170

171171
/**

src/client/pythonEnvironments/base/locators/common/nativePythonFinder.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ export interface NativeEnvInfo {
2828
* Path to the project directory when dealing with pipenv virtual environments.
2929
*/
3030
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;
3535
}
3636

3737
export interface NativeEnvManagerInfo {

src/client/pythonEnvironments/base/locators/composite/resolverUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export async function resolveBasicEnv(env: BasicEnvInfo): Promise<PythonEnvInfo>
6464
await updateEnvUsingRegistry(resolvedEnv);
6565
}
6666
setEnvDisplayString(resolvedEnv);
67-
if (env.arch && !resolvedEnv.arch){
67+
if (env.arch && !resolvedEnv.arch) {
6868
resolvedEnv.arch = env.arch;
6969
}
7070
if (env.ctime && env.mtime) {

0 commit comments

Comments
 (0)