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

Deleting_a_non_existing_file_should_not_fail #730

Conversation

taurr
Copy link
Collaborator

@taurr taurr commented Aug 12, 2022

After fixing the issue of cargo generate leaving the original file after renaming using placeholders, the template would fail if the template author had mittigated this by deleting the file from rhai... rhai failed if deleting a file that isn't there.

If a Rhai script deletes a file that is not there, template expansion fails.
This is an issue after fixing renaming leavint the original file!
@taurr taurr merged commit c93b47c into cargo-generate:main Aug 13, 2022
@taurr taurr deleted the taurr/deleting_a_non_existing_file_should_not_fail branch August 13, 2022 08:34
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.

1 participant