Skip to content

Commit

Permalink
Update uninstaller to support new stubs path
Browse files Browse the repository at this point in the history
Signed-off-by: paulober <[email protected]>
  • Loading branch information
paulober committed Apr 30, 2024
1 parent bf1e02f commit 22a2ff0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vscodeUninstall.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ function getVsCodeUserPath() {
}

const stubsFolder = join(getVsCodeUserPath(), "Pico-W-Stub");
const newStubsFolder = join(homedir(), ".micropico-stubs")

const result = await rimraf(stubsFolder, { glob: false });
console.log("Pico-W-Stub uninstall result: ", result ? "success" : "failure");

const result2 = await rimraf(newStubsFolder, { glob: false });
console.log("New stubs uninstall result: ", result2 ? "success" : "failure");

/* eslint-enable */

0 comments on commit 22a2ff0

Please sign in to comment.