Skip to content

Commit 7a92ac5

Browse files
committed
rm -r
1 parent 3aacf46 commit 7a92ac5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

esbuild.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ switch (mode.toLowerCase()) {
5252
}
5353
if (fs.existsSync(outDir)) {
5454
console.log(`Output directory ${outDir} already exists, removing dir...`);
55-
fs.rmdirSync(outDir);
55+
fs.rmSync(outDir, {recursive: true});
5656
} else {
5757
console.log(`Output directory ${outDir} doesn't exist, skipping removal step.`);
5858
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"activationEvents": [
2020
"*"
2121
],
22-
"main": "./out/extension.js",
22+
"main": "./out/desktop/extension.js",
2323
"browser": "./out/web/extension.js",
2424
"contributes": {
2525
"chatParticipants": [

0 commit comments

Comments
 (0)