Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant