We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d98b58f + 8f88704 commit 2e87f0fCopy full SHA for 2e87f0f
src/utils/copy.rs
@@ -29,7 +29,6 @@ pub fn copy_doc_dir<P: AsRef<Path>, Q: AsRef<Path>>(source: P, destination: Q) -
29
let metadata = file.metadata()?;
30
31
if metadata.is_dir() {
32
- fs::create_dir_all(&destination_full_path)?;
33
copy_doc_dir(file.path(), destination_full_path)?
34
} else if dup_regex.is_match(&file.file_name().into_string().unwrap()[..]) {
35
continue;
0 commit comments