Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
FerrisWasTaken committed Mar 24, 2024
1 parent 7a97c43 commit 3bab156
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions paxy/src/actions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,15 @@ pub fn ensure_path(path: Option<&PathBuf>) {
::std::fs::create_dir_all(file).expect("Inufficient permissions");
}
} else {
if !path.unwrap().is_dir() {
::std::fs::create_dir_all(path.unwrap().clone()).expect("Inufficient permissions");
if !path
.unwrap()
.is_dir()
{
::std::fs::create_dir_all(
path.unwrap()
.clone(),
)
.expect("Inufficient permissions");
}
}
}
}

0 comments on commit 3bab156

Please sign in to comment.