updated dependency
This commit is contained in:
parent
92a201981a
commit
cd7dc90657
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ edition = "2021"
|
|||
pico-args = "0.5.0"
|
||||
termion = "2.0.1"
|
||||
toml = "0.7.6"
|
||||
upon = "0.7.1"
|
||||
upon = "0.8.1"
|
||||
|
||||
[profile.release]
|
||||
opt-level = "s"
|
||||
|
|
|
@ -99,7 +99,7 @@ pub fn build(targets: &Vec<Map<String, Value>>, template_dir: String, config: &C
|
|||
|
||||
// render
|
||||
println!(" {ITALIC}rendering{RESET}");
|
||||
let render = template.unwrap().render(&context).to_string();
|
||||
let render = template.unwrap().render(&engine, &context).to_string();
|
||||
if let Err(error) = render {
|
||||
println!(" {BOLD}{FAILURE}failed to render template:{RESET}\n {FAILURE}{error}\n {BOLD}skipping{RESET}");
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue