Skip to content

Commit 96e2413

Browse files
authored
change rmDirSync to rmSync (#43)
fixes the issue from my comment on db0490f#commitcomment-66284504
1 parent 5f069ef commit 96e2413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/postinstall.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function processRoot() {
2020
if (!toKeep.has(name)) {
2121
const filePath = path.join(root, name);
2222
console.log(`Removed ${filePath}`);
23-
fs.rmdirSync(filePath, { recursive: true });
23+
fs.rmSync(filePath, { recursive: true });
2424
}
2525
}
2626

0 commit comments

Comments
 (0)