fix(render): add quotes to missing var error

This commit is contained in:
Federico Terzi 2021-09-30 22:20:00 +02:00
parent ad4762f012
commit c85020fdfa

View File

@ -222,7 +222,7 @@ pub(crate) fn render_variables(body: &str, scope: &Scope) -> Result<String> {
}, },
None => { None => {
replacing_error = Some(RendererError::MissingVariable(format!( replacing_error = Some(RendererError::MissingVariable(format!(
"variable {} is missing", "variable '{}' is missing",
var_name var_name
))); )));
"" ""