We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 557249b commit 5c8c4abCopy full SHA for 5c8c4ab
src/client/pythonEnvironments/discovery/locators/services/venvLocator.ts
@@ -4,13 +4,12 @@
4
import * as path from 'path';
5
import { pathExists } from '../../../common/externalDependencies';
6
7
-
8
/**
9
* Checks if the given interpreter belongs to a venv based environment.
10
* @param {string} interpreterPath: Absolute path to the python interpreter.
11
* @returns {boolean} : Returns true if the interpreter belongs to a venv environment.
12
*/
13
-export async function isVenvEnvironment(interpreterPath:string): Promise<boolean>{
+export async function isVenvEnvironment(interpreterPath:string): Promise<boolean> {
14
const pyvenvConfigFile = 'pyvenv.cfg';
15
16
// Check if the pyvenv.cfg file is in the directory as the interpreter.
0 commit comments