summaryrefslogtreecommitdiff
path: root/extension/src/activation/environmentSetup.ts
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-05-27 23:33:47 -0400
committerNate Sesti <sestinj@gmail.com>2023-05-27 23:33:47 -0400
commit566d127be48dcb4e6fe4b6d1b98b6641ca0f8913 (patch)
tree17e77232fa8532782bfab31f36e505e690213afe /extension/src/activation/environmentSetup.ts
parent0877ada8ed9f71f3ee792bcb34a4005e3c86827d (diff)
downloadsncontinue-566d127be48dcb4e6fe4b6d1b98b6641ca0f8913.tar.gz
sncontinue-566d127be48dcb4e6fe4b6d1b98b6641ca0f8913.tar.bz2
sncontinue-566d127be48dcb4e6fe4b6d1b98b6641ca0f8913.zip
posthog setup in react app
Diffstat (limited to 'extension/src/activation/environmentSetup.ts')
-rw-r--r--extension/src/activation/environmentSetup.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts
index 4816b4b1..1e921c18 100644
--- a/extension/src/activation/environmentSetup.ts
+++ b/extension/src/activation/environmentSetup.ts
@@ -59,7 +59,7 @@ async function setupPythonEnv() {
}
let pipCmd = pythonCmd.endsWith("3") ? "pip3" : "pip";
- let activateCmd = "source env/bin/activate";
+ let activateCmd = ". env/bin/activate";
let pipUpgradeCmd = `${pipCmd} install --upgrade pip`;
if (process.platform == "win32") {
activateCmd = ".\\env\\Scripts\\activate";
@@ -147,7 +147,7 @@ export async function startContinuePythonServer() {
console.log("Error checking for existing server", e);
}
- let activateCmd = "source env/bin/activate";
+ let activateCmd = ". env/bin/activate";
let pythonCmd = "python3";
if (process.platform == "win32") {
activateCmd = ".\\env\\Scripts\\activate";