From 5c8c4ab66aea87cc72632e466cdf7412a3f07717 Mon Sep 17 00:00:00 2001 From: Kim-Adeline Miguel Date: Mon, 21 Sep 2020 08:30:10 -0700 Subject: [PATCH] Autoformat venv locator --- .../discovery/locators/services/venvLocator.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/pythonEnvironments/discovery/locators/services/venvLocator.ts b/src/client/pythonEnvironments/discovery/locators/services/venvLocator.ts index ea3e6a859ba0..31dc064c6584 100644 --- a/src/client/pythonEnvironments/discovery/locators/services/venvLocator.ts +++ b/src/client/pythonEnvironments/discovery/locators/services/venvLocator.ts @@ -4,13 +4,12 @@ import * as path from 'path'; import { pathExists } from '../../../common/externalDependencies'; - /** * Checks if the given interpreter belongs to a venv based environment. * @param {string} interpreterPath: Absolute path to the python interpreter. * @returns {boolean} : Returns true if the interpreter belongs to a venv environment. */ -export async function isVenvEnvironment(interpreterPath:string): Promise{ +export async function isVenvEnvironment(interpreterPath:string): Promise { const pyvenvConfigFile = 'pyvenv.cfg'; // Check if the pyvenv.cfg file is in the directory as the interpreter.