diff --git a/src/main.rs b/src/main.rs index c447a8e..82c896c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,6 +44,9 @@ fn convert_all(src_path: &Path, dist_path: &Path) { Ok(p) => p, Err(_) => continue, }; + if entry.path() == src_path { + continue; + } let file = entry.path(); let extension = file .extension() diff --git a/src/test.md b/src/test.md new file mode 100644 index 0000000..e69de29