mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
Fix fs.copy not working with empty dirs (#155)
This commit is contained in:
parent
347da823b7
commit
baa03424d4
1 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,8 @@ pub async fn copy(
|
|||
}
|
||||
}
|
||||
|
||||
fs::create_dir_all(target).await?;
|
||||
|
||||
// FUTURE: Write dirs / files concurrently
|
||||
// to potentially speed these operations up
|
||||
for (_, dir) in &contents.dirs {
|
||||
|
|
Loading…
Reference in a new issue