Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2abec37

Browse filesBrowse files
authored
Improved telemetry for Native Locator (#23664)
1 parent c880947 commit 2abec37
Copy full SHA for 2abec37

File tree

Expand file treeCollapse file tree

4 files changed

+655
-242
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+655
-242
lines changed

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

Copy file name to clipboardExpand all lines: src/client/pythonEnvironments/base/info/environmentInfoService.ts
-34Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -205,40 +205,6 @@ class EnvironmentInfoService implements IEnvironmentInfoService {
205205
}
206206
});
207207
}
208-
209-
private static getInterpreterInfo(
210-
env: PythonEnvInfo,
211-
allowPartialVersions?: boolean,
212-
): InterpreterInformation | undefined {
213-
if (allowPartialVersions) {
214-
if (env.version.major > -1 && env.version.minor > -1 && env.location) {
215-
return {
216-
arch: env.arch,
217-
executable: {
218-
filename: env.executable.filename,
219-
ctime: -1,
220-
mtime: -1,
221-
sysPrefix: env.location,
222-
},
223-
version: env.version,
224-
};
225-
}
226-
}
227-
228-
if (env.version.major > -1 && env.version.minor > -1 && env.version.micro > -1 && env.location) {
229-
return {
230-
arch: env.arch,
231-
executable: {
232-
filename: env.executable.filename,
233-
ctime: -1,
234-
mtime: -1,
235-
sysPrefix: env.location,
236-
},
237-
version: env.version,
238-
};
239-
}
240-
return undefined;
241-
}
242208
}
243209

244210
function addToQueue(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.