Fixed the override not working with copy only dir #1650#1651
Conversation
|
This bug is really annoying when you create your own cookiecutter package and need to generate the files again and again. You have to manual |
|
Here was my attempt to fix the failing test: 19a8f2f. It might not work on Windows, though. |
|
Let step back to think about the requirement of this Here is my understanding, if you decide to use The I am happy to hear your thought or anyone else from the committer group. |
|
I don't disagree with you. I'm confused what the problem is. The change I made is to make your delete respect the |
|
I don't think there is a case the copy-on-dir exists and the I also noticed there is any flag |
|
You are correct, but I see no reason to avoid being defensive since the check is in another function. |
Co-authored-by: Andrew Tribone <780132+att14@users.noreply.github.com>
16965c9 to
418e316
Compare
Fixed the issue of failure execution when
overwrite_if_exists=True