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

fix(panic): Fix panics caused by non-existent template paths #547

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

groszewn
Copy link

As mentioned in Keats/tera#819, there was a regression in how non-existent glob paths are handled. Previously, invalid globs would be expanded to the empty set, but now they lead to an error.

Since this implementation just wants a bogus template directory, we just load the Tera::default() template.

This should address #545

As mentioned in Keats/tera#819, there was a regression in how
non-existent glob paths are handled. Previously, invalid globs would be
expanded to the empty set, but now they lead to an error.

Since this implementation just wants a bogus template directory, we just
load the `Tera::default()` template.

This should address google#545

Signed off by: Nick Groszewski <ngroszewski@google.com>
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.

None yet

1 participant