summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQrius <[email protected]>2024-09-26 00:11:05 +0200
committerQrius <[email protected]>2024-09-26 00:11:05 +0200
commit21c9202896c2e43065274b7999eb6a8b56f9aa5b (patch)
tree1251ea8e5097edfd3d23b2644bcbd46fbf69aeca /src
parent2bc99dd639a3e8d39bea32debef5cc6680a6f077 (diff)
downloadskaldpress-21c9202896c2e43065274b7999eb6a8b56f9aa5b.tar.gz
skaldpress-21c9202896c2e43065274b7999eb6a8b56f9aa5b.zip
Fix copying error
Diffstat (limited to 'src')
-rw-r--r--src/skaldpress/main.rs2
1 files changed, 1 insertions, 1 deletions
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(),