From fa29f371579a37883489711421caa27cdf78f624 Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Mon, 15 Apr 2024 20:50:04 +0200 Subject: [PATCH] special-case true / false values --- src/recipe/jinja.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recipe/jinja.rs b/src/recipe/jinja.rs index 59d13c58c..8aa132b31 100644 --- a/src/recipe/jinja.rs +++ b/src/recipe/jinja.rs @@ -60,7 +60,7 @@ impl<'a> Jinja<'a> { if expr.is_empty() { return Ok(Value::UNDEFINED); } - let expr = self.env.compile_expression(&str)?; + let expr = self.env.compile_expression(str)?; expr.eval(self.context()) } }