mode is not a thing on windows

This commit is contained in:
Michael Pfaff 2022-06-09 17:56:12 -04:00
parent 3be5d99000
commit 35a3451061
Signed by: michael
GPG Key ID: CF402C4A012AA9D4
1 changed files with 1 additions and 1 deletions

View File

@ -247,5 +247,5 @@ const fn empty_str<'a>() -> &'a str {
}
async fn mkdir_all(path: impl AsRef<Path>) -> Result<()> {
tokio::fs::DirBuilder::new().mode(0o775).recursive(true).create(path).await.into_diagnostic().wrap_err("Creating directory and any missing parents failed.")
tokio::fs::DirBuilder::new().recursive(true).create(path).await.into_diagnostic().wrap_err("Creating directory and any missing parents failed.")
}