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

Don't fail if directory already exists #279

Open
aaronpowell opened this issue Jan 10, 2022 · 0 comments
Open

Don't fail if directory already exists #279

aaronpowell opened this issue Jan 10, 2022 · 0 comments

Comments

@aaronpowell
Copy link

If you set . as the directory to install keystone into, it'll fail on https://github.com/keystonejs/create-keystone-app/blob/main/create-keystone-app/src/index.ts#L84

It'd be better to check if the directory exists, and if it does, warn that you might override existing files.

I hit this often as the workflow I use is to make the folder, open VS Code and then do the setup from there.

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

No branches or pull requests

1 participant