From fcbbd7ed4012c031580bb32dc559dae4e5f0bacc Mon Sep 17 00:00:00 2001 From: Ryan Brue Date: Fri, 30 Aug 2024 15:20:55 -0500 Subject: [PATCH] fix spurious warning Signed-off-by: Ryan Brue --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index 68d5c1e..ff93270 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -37,7 +37,7 @@ pub fn get_template_if_exists( let mut current = PathBuf::from(djot_document_path.parent().unwrap()); loop { let template_file = current.join("template.html"); - log::warn!("Checking for template file at {:?}", &template_file); + log::trace!("Checking for template file at {:?}", &template_file); if template_file.exists() { return Ok(Some(read_to_string(&template_file)?)); }