Skip to content

Conversation

@Esemesek
Copy link
Member

@Esemesek Esemesek commented Mar 4, 2020

Summary:

Initializing to the pre-existing directory was all about removing all the files in that directory. This approach doesn't make much sense from user perspective as it might lead to unexpected/accidental removals (even though we ask). From now on, we just fail when the directory exists and we leave it up to the user what to do with that.

@Esemesek Esemesek changed the title fix: init with directory option set to . imp: remove initializing new project to pre-existing directories Mar 4, 2020
Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

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

👍

@thymikee thymikee changed the title imp: remove initializing new project to pre-existing directories feat: bail out when initializing new project to pre-existing directories Mar 4, 2020
@thymikee thymikee merged commit 5ac4791 into master Mar 4, 2020
@thymikee thymikee deleted the fix-init-dir branch March 4, 2020 20:37
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.

3 participants