Skip to content

Commit 2e87f0f

Browse files
authored
Merge pull request #1316 from GuillaumeGomez/remove-redundant-call
Remove redundant call
2 parents d98b58f + 8f88704 commit 2e87f0f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/utils/copy.rs

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ pub fn copy_doc_dir<P: AsRef<Path>, Q: AsRef<Path>>(source: P, destination: Q) -
2929
let metadata = file.metadata()?;
3030

3131
if metadata.is_dir() {
32-
fs::create_dir_all(&destination_full_path)?;
3332
copy_doc_dir(file.path(), destination_full_path)?
3433
} else if dup_regex.is_match(&file.file_name().into_string().unwrap()[..]) {
3534
continue;

0 commit comments

Comments
 (0)