diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-11 12:43:15 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-11 12:43:15 -0700 |
commit | ea76462f971d6d235baacbb85d6e9ae6fe09d7e0 (patch) | |
tree | 0d01bd00932b9108ba437d2ccc77a2a7d7326a73 /extension/src | |
parent | f515c9179b27885a024c197f8dead0c2e311aa8e (diff) | |
download | sncontinue-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.ts | 5 |
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; } } |