mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 05:13:44 +08:00
chore: unified code format
This commit is contained in:
parent
7b53752ccd
commit
3073b4e48e
@ -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…
x
Reference in New Issue
Block a user