-
Notifications
You must be signed in to change notification settings - Fork 15
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
Template is still generated if a child template fails #11
Comments
Hi @pragdave |
Have you tried with HEAD?
We merged a PR yesterday that deletes the old directory before installing.
That might fix it for you.
Dave
…On Wed, Jul 18, 2018 at 9:48 AM Tony van Riet ***@***.***> wrote:
Hi @pragdave <https://github.com/pragdave>
Have you had any chance to consider this issue and the proposed fix?
We've been using our fork for the last month with good results.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAApmEqwAksJYWfo2UAMGSm9p1JUEHIuks5uH0q7gaJpZM4Up4y0>
.
|
@pragdave my PR should only remove the prior entry in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We ran into some confusion when we attempted to generate one of our hierarchical templates into an existing directory.
This template has 3 layers of hierarchy. The lowest-level template failed with
Error: Updating an existing project is not yet supported
but the rest of the child templates proceeded to generate successfully because themaybe_invoke_based_on
func sets the:force
option after generating abased_on
template.This made it appear like the gen was successful and it took some time to realize why some things were missing from the generated output.
Perhaps there are some use cases where this is desirable, but from my perspective, I'd prefer to see the mix task fail more completely when any of the templates fail to generate.
The text was updated successfully, but these errors were encountered: