Skip to content
This repository was archived by the owner on Sep 24, 2025. It is now read-only.

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

Open
groszewn wants to merge 1 commit into
google:mainfrom
groszewn:panic_fix
Open

fix(panic): Fix panics caused by non-existent template paths#547
groszewn wants to merge 1 commit into
google:mainfrom
groszewn:panic_fix

Conversation

@groszewn

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant