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

Generator: ask to overwrite file when it already exists #728

Open
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@deviouspk
Copy link

deviouspk commented Mar 9, 2019

This pull request implements the possibility to overwrite a file if it already exists.

Generator: ask to overwrite file when it already exists
This pull request implements the possibility to overwrite a file if it already exists.
@deviouspk

This comment has been minimized.

Copy link
Author

deviouspk commented Mar 9, 2019

Travis built fails but i can't find the test where it halts the built because of the confirm. If this feature is something you would like to implement could you tell me where the test is located that tests for the case where no file is found so i can fix it?

@nWidart

This comment has been minimized.

Copy link
Owner

nWidart commented Mar 9, 2019

Hello and thank you for your contribution!

Have you tried running the tests locally? They fail for me with this PRs changes.

The failing test: it_displays_error_if_model_already_exists in ModuleMakeCommandTest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.