From cd7dc90657478035dfcae196ddc3130acc8435b6 Mon Sep 17 00:00:00 2001 From: Valerie Date: Tue, 9 Jul 2024 10:00:19 -0400 Subject: [PATCH] updated dependency --- Cargo.toml | 2 +- src/operation.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c7ba6e9..ad49935 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/operation.rs b/src/operation.rs index ecd1e84..34c7af1 100644 --- a/src/operation.rs +++ b/src/operation.rs @@ -99,7 +99,7 @@ pub fn build(targets: &Vec>, 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;