Skip to content

Commit

Permalink
use create_dir_all
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Sep 7, 2023
1 parent 1590fab commit 5a9e2e1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/bevy_asset/src/processor/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,7 @@ impl ProcessorTransactionLog {
}

if let Some(parent_folder) = path.parent() {
DirBuilder::new()
.recursive(true)
.create(parent_folder)
.await?;
async_fs::create_dir_all(parent_folder).await?;
}

Ok(Self {
Expand Down

0 comments on commit 5a9e2e1

Please sign in to comment.