google / cargo-raze

Generate Bazel BUILD from Cargo dependencies!
Apache License 2.0
480 stars 104 forks source link

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

Open groszewn opened 1 year ago

groszewn commented 1 year ago

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