Skip to content

Commit

Permalink
Remove del from package
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed Oct 27, 2022
1 parent ad1c308 commit 941cc09
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 772 deletions.
3 changes: 1 addition & 2 deletions install.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,7 @@ async function extractDownload(dirToExtractTo) {
}

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

Expand Down

0 comments on commit 941cc09

Please sign in to comment.