From 317d3f20510f6dc474d76ee35ba1b6b312989373 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Wed, 10 Nov 2021 23:23:10 +0100 Subject: [PATCH] feat(core): wire up depends_on field for variables --- espanso/src/cli/worker/engine/process/middleware/render/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/espanso/src/cli/worker/engine/process/middleware/render/mod.rs b/espanso/src/cli/worker/engine/process/middleware/render/mod.rs index dcb0c6a..9b5d7ae 100644 --- a/espanso/src/cli/worker/engine/process/middleware/render/mod.rs +++ b/espanso/src/cli/worker/engine/process/middleware/render/mod.rs @@ -152,6 +152,7 @@ fn convert_var(var: espanso_config::matches::Variable) -> espanso_render::Variab var_type: var.var_type, params: convert_params(var.params), inject_vars: var.inject_vars, + depends_on: var.depends_on, } } @@ -227,6 +228,7 @@ impl<'a> Renderer<'a> for RendererAdapter<'a> { var_type: "echo".to_string(), params, inject_vars: false, + ..Default::default() }, ) }