Skip to content

Commit 12f29e9

Browse files
added built-in var to jsondocck
1 parent eb5e244 commit 12f29e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/jsondocck/src/cache.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ impl Cache {
2323

2424
Cache {
2525
value: serde_json::from_str::<Value>(&content).expect("failed to convert from JSON"),
26-
variables: HashMap::new(),
26+
variables: HashMap::from([("FILE".to_owned(), config.template.clone().into())]),
2727
}
2828
}
2929

0 commit comments

Comments
 (0)