Skip to content

Commit 8eecbf5

Browse files
Restore create_dir_all method (#260)
1 parent 2587ead commit 8eecbf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/entry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ impl<'a> EntryFields<'a> {
773773
if let Some(parent) = ancestor.parent() {
774774
self.validate_inside_dst(dst, parent)?;
775775
}
776-
fs::create_dir(ancestor)?;
776+
fs::create_dir_all(ancestor)?;
777777
}
778778
Ok(())
779779
}

0 commit comments

Comments
 (0)