Skip to content

Added a catch for reserved project names#543

Merged
jwoertink merged 2 commits intomasterfrom
issues/540
Aug 31, 2020
Merged

Added a catch for reserved project names#543
jwoertink merged 2 commits intomasterfrom
issues/540

Conversation

@jwoertink
Copy link
Member

Fixes #540

There's a small chance that when someone is trying Lucky for the first time, they may just generate an app called "app" just to get through the wizard. Doing this would overwrite the src/app.cr file which causes some funky stuff. In this PR I just added all of the pre-existing file names to avoid any of that.

Copy link
Member

@paulcsmith paulcsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one suggestion. LGTM!

@jwoertink jwoertink merged commit 6c44a8e into master Aug 31, 2020
@jwoertink jwoertink deleted the issues/540 branch August 31, 2020 15:54
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 this pull request may close these issues.

Creating a project named as 'app' makes project broken.

2 participants