chore: update

This commit is contained in:
huzibaca
2024-10-10 18:40:39 +08:00
parent 045ddc5ca5
commit d14bda7e7a
3 changed files with 13 additions and 13 deletions

View File

@@ -250,11 +250,11 @@ pub async fn patch_verge(patch: IVerge) -> Result<()> {
Config::verge().apply();
Config::verge().data().save_file()?;
return Ok(());
Ok(())
}
Err(err) => {
Config::verge().discard();
return Err(err);
Err(err)
}
}
}