From 12f29e991a4eef962d315b45d24c784b4c5b987e Mon Sep 17 00:00:00 2001 From: schvv31n Date: Thu, 4 Jul 2024 10:18:57 +0100 Subject: [PATCH] added built-in var to jsondocck --- src/tools/jsondocck/src/cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/jsondocck/src/cache.rs b/src/tools/jsondocck/src/cache.rs index 50697d46b8c..5f72bd171a1 100644 --- a/src/tools/jsondocck/src/cache.rs +++ b/src/tools/jsondocck/src/cache.rs @@ -23,7 +23,7 @@ impl Cache { Cache { value: serde_json::from_str::(&content).expect("failed to convert from JSON"), - variables: HashMap::new(), + variables: HashMap::from([("FILE".to_owned(), config.template.clone().into())]), } }