Skip to content

Commit 88fb7a2

Browse files
author
Alexander Weber
committed
regression test and error overhaul
1 parent b15f328 commit 88fb7a2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/render/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ pub async fn render(
4747

4848
let mut hb = handlebars::Handlebars::new();
4949
hb.register_escape_fn(|s| s.to_owned());
50-
if args.loose {
51-
hb.set_strict_mode(false);
52-
}
50+
hb.set_strict_mode(!args.loose);
5351

5452
if args.helpers {
5553
for helper in helpers {

0 commit comments

Comments
 (0)