Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create-waku confuses the target dir #1289

Open
tylersayshi opened this issue Mar 5, 2025 · 0 comments
Open

create-waku confuses the target dir #1289

tylersayshi opened this issue Mar 5, 2025 · 0 comments
Assignees

Comments

@tylersayshi
Copy link
Member

The issue happens when a project is created named waku-project and then any other project is attempted to be made in the same directory.

you can test this by:

  1. make a project with the default name in a directory
  2. make a new project with a new name in that same directory as a sibling/ this will register as a duplicate of waku-project but then go in the correct new name folder

Also, if a project exists named foo and another is attempted to be made also named foo the duplicate will not be detected.

It would be nice if we could break the prompts into steps instead of the single list api which is done by prompts. We've discussed changing before, but I think this issue with the side effect for targetDir which does not work is motivation for considering a different CLI library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant