fix bug uninstalling continuedev

This commit is contained in:
Nate Sesti 2023-07-11 12:43:15 -07:00
parent f515c9179b
commit ea76462f97
3 changed files with 4 additions and 7 deletions

View file

@ -1,12 +1,12 @@
{
"name": "continue",
"version": "0.0.150",
"version": "0.0.151",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "continue",
"version": "0.0.150",
"version": "0.0.151",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",

View file

@ -14,7 +14,7 @@
"displayName": "Continue",
"pricing": "Free",
"description": "The open-source coding autopilot",
"version": "0.0.150",
"version": "0.0.151",
"publisher": "Continue",
"engines": {
"vscode": "^1.67.0"

View file

@ -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;
}
}