Skip to content

Commit 941cc09

Browse files
committed
Remove del from package
1 parent ad1c308 commit 941cc09

File tree

3 files changed

+1
-772
lines changed

3 files changed

+1
-772
lines changed

install.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,7 @@ async function extractDownload(dirToExtractTo) {
306306
}
307307

308308
async function copyIntoPlace(originPath, targetPath) {
309-
const { deleteAsync } = await import('del');
310-
await deleteAsync(targetPath, { force: true });
309+
fs.rmSync(targetPath, { recursive: true, force: true });
311310
console.log(`Copying from ${originPath} to target path ${targetPath}`);
312311
fs.mkdirSync(targetPath);
313312

0 commit comments

Comments
 (0)