-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Folders having hyphens in their names are not being overwritten at the start of the script.
To Reproduce
Steps to reproduce the behavior:
- Create a folder with a name that has a hyphen.
- Run
npx create-any-app next <name-with-hyphen> - Choose overwrite
- See error
Expected behavior
The script should be executed without errors.
Additional context
It seems that the fs.removeSync() function is not able to parse names with hyphens properly, since the same functionality works properly when there are no hyphens in the name of the folder.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working