Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(panic): Fix panics caused by non-existent template paths
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 <[email protected]>
- Loading branch information