summaryrefslogtreecommitdiff
path: root/extension/src
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-11 12:43:15 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-11 12:43:15 -0700
commitea76462f971d6d235baacbb85d6e9ae6fe09d7e0 (patch)
tree0d01bd00932b9108ba437d2ccc77a2a7d7326a73 /extension/src
parentf515c9179b27885a024c197f8dead0c2e311aa8e (diff)
downloadsncontinue-ea76462f971d6d235baacbb85d6e9ae6fe09d7e0.tar.gz
sncontinue-ea76462f971d6d235baacbb85d6e9ae6fe09d7e0.tar.bz2
sncontinue-ea76462f971d6d235baacbb85d6e9ae6fe09d7e0.zip
fix bug uninstalling continuedev
Diffstat (limited to 'extension/src')
-rw-r--r--extension/src/activation/environmentSetup.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts
index 8b384e1d..881da9b5 100644
--- a/extension/src/activation/environmentSetup.ts
+++ b/extension/src/activation/environmentSetup.ts
@@ -156,10 +156,7 @@ async function checkRequirementsInstalled() {
activateCmd,
`${pipCmd} uninstall -y continuedev`,
].join(" ; ");
- const [, stderr] = await runCommand(removeOldVersionCommand);
- if (stderr) {
- throw new Error(stderr);
- }
+ await runCommand(removeOldVersionCommand);
return false;
}
}