Skip to content

Commit

Permalink
special-case true / false values
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Apr 15, 2024
1 parent 769355f commit fa29f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/recipe/jinja.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
}
Expand Down

0 comments on commit fa29f37

Please sign in to comment.