mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
chore: unified code format
This commit is contained in:
parent
b9bb79b4dc
commit
e87e06dd37
|
@ -54,9 +54,11 @@ impl WebDavClient {
|
|||
password.to_owned(),
|
||||
))
|
||||
.build()?;
|
||||
if let Err(_) = client
|
||||
|
||||
if (client
|
||||
.list(dirs::BACKUP_DIR, reqwest_dav::Depth::Number(0))
|
||||
.await
|
||||
.await)
|
||||
.is_err()
|
||||
{
|
||||
client.mkcol(dirs::BACKUP_DIR).await?;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user