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

Don't fail if directory already existsΒ #279

@aaronpowell

Description

@aaronpowell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions