From c85020fdfa3a6ee1d9d7c325c977238007e24dde Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Thu, 30 Sep 2021 22:20:00 +0200 Subject: [PATCH] fix(render): add quotes to missing var error --- espanso-render/src/renderer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/espanso-render/src/renderer/mod.rs b/espanso-render/src/renderer/mod.rs index 85db7e5..a18dda4 100644 --- a/espanso-render/src/renderer/mod.rs +++ b/espanso-render/src/renderer/mod.rs @@ -222,7 +222,7 @@ pub(crate) fn render_variables(body: &str, scope: &Scope) -> Result { }, None => { replacing_error = Some(RendererError::MissingVariable(format!( - "variable {} is missing", + "variable '{}' is missing", var_name ))); ""