feat(core): wire up depends_on field for variables

This commit is contained in:
Federico Terzi 2021-11-10 23:23:10 +01:00
parent aa26f27ed9
commit 317d3f2051

View File

@ -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()
},
)
}