Skip to content

Commit

Permalink
chore: added force to removing the excluded folders
Browse files Browse the repository at this point in the history
  • Loading branch information
nickytonline committed Feb 18, 2023
1 parent 4928004 commit 480051b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remix.init/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async function removeNonTemplateFiles({ rootDirectory, folders }) {
try {
await Promise.allSettled(
folders.map((folder) =>
fs.rm(join(rootDirectory, folder), { recursive: true })
fs.rm(join(rootDirectory, folder), { recursive: true, force: true })
)
);
} catch (e) {
Expand Down

0 comments on commit 480051b

Please sign in to comment.