diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-01 00:09:19 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-01 00:09:19 -0400 |
commit | ea5d50af9ba84242c25e82069d86c08ac039e543 (patch) | |
tree | 29b99530ca6df54f5bc641be667c6820ff7e4014 /extension/src/activation/environmentSetup.ts | |
parent | e6dded34c26fd17ede17776755cc41c26782a045 (diff) | |
download | sncontinue-ea5d50af9ba84242c25e82069d86c08ac039e543.tar.gz sncontinue-ea5d50af9ba84242c25e82069d86c08ac039e543.tar.bz2 sncontinue-ea5d50af9ba84242c25e82069d86c08ac039e543.zip |
Polishing for dlt codespace and !config!
Diffstat (limited to 'extension/src/activation/environmentSetup.ts')
-rw-r--r-- | extension/src/activation/environmentSetup.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index db2c5523..419d32ed 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -77,6 +77,8 @@ function checkEnvExists() { async function setupPythonEnv() { console.log("Setting up python env for Continue extension..."); + if (checkEnvExists()) return; + // Assemble the command to create the env const [pythonCmd, pipCmd] = await getPythonPipCommands(); const [activateCmd, pipUpgradeCmd] = getActivateUpgradeCommands( |