fixed recursion bug
This commit is contained in:
parent
f0f3a74dcb
commit
475e6ff43d
|
@ -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()
|
||||
|
|
0
src/test.md
Normal file
0
src/test.md
Normal file
Loading…
Reference in a new issue