added built-in var to jsondocck
This commit is contained in:
parent
eb5e2449c5
commit
12f29e991a
@ -23,7 +23,7 @@ pub fn new(config: &Config) -> Cache {
|
||||
|
||||
Cache {
|
||||
value: serde_json::from_str::<Value>(&content).expect("failed to convert from JSON"),
|
||||
variables: HashMap::new(),
|
||||
variables: HashMap::from([("FILE".to_owned(), config.template.clone().into())]),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user