From 21c9202896c2e43065274b7999eb6a8b56f9aa5b Mon Sep 17 00:00:00 2001 From: Qrius Date: Thu, 26 Sep 2024 00:11:05 +0200 Subject: Fix copying error --- src/skaldpress/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/skaldpress/main.rs b/src/skaldpress/main.rs index c96f304..566fff3 100644 --- a/src/skaldpress/main.rs +++ b/src/skaldpress/main.rs @@ -457,7 +457,7 @@ fn copy_files_in_directory(directory: &Path, opts: &Opts) -> Result<(), Skaldpre println!("\x1b[31mError copying {:#?}: {}\x1b[0m", path.as_path(), e); } } else if metadata.is_dir() { - if let Err(e) = compile_files_in_directory(path.as_path(), opts) { + if let Err(e) = copy_files_in_directory(path.as_path(), opts) { println!( "\x1b[31mError processing directory {:#?}: {}\x1b[0m", path.as_path(), -- cgit v1.2.3