Skip to content

Commit 5a9389b

Browse files
committed
remove extra function for cmd
1 parent 2a98e27 commit 5a9389b

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

src/managers/conda/condaUtils.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -418,20 +418,6 @@ async function readProfile(profilePath: string): Promise<boolean> {
418418
return false;
419419
}
420420

421-
// async function readCmdCondaInit(): Promise<boolean> {
422-
// if (!isWindows()) {
423-
// return false;
424-
// }
425-
// try {
426-
// const { stdout } = await exec('reg query "HKCU\\Software\\Microsoft\\Command Processor" /v AutoRun', {
427-
// windowsHide: true,
428-
// });
429-
// return stdout.includes('conda') && stdout.includes('activate');
430-
// } catch {
431-
// return false;
432-
// }
433-
// }
434-
435421
async function getPrefixesCondaPythonInfo(
436422
prefix: string,
437423
executable: string,

0 commit comments

Comments
 (0)