From 839fd164aa049241b144993f553aa4894cd91530 Mon Sep 17 00:00:00 2001 From: CrispyPin Date: Fri, 26 Apr 2024 23:23:33 +0200 Subject: [PATCH] ignore non-md files --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 2027512..6cdb25d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -53,7 +53,9 @@ fn build_file(path: &Path) -> Result { if path.extension().and_then(OsStr::to_str) == Some("md") { convert_file(path) } else { - todo!("move file") + println!("file ignored: {}", path.display()); + // TODO copy non dotfiles + Ok(()) } }