fix: remove auto clean up profiles behavior in resolve process

This commit is contained in:
Tunglies
2025-08-28 04:38:10 +08:00
parent 51ff9e1851
commit d23d1d9a1d
4 changed files with 4 additions and 35 deletions

View File

@@ -253,10 +253,6 @@ pub async fn delete_profile(index: String) -> CmdResult {
// 使用Send-safe helper函数
let should_update = wrap_err!(profiles_delete_item_safe(index).await)?;
// 删除后自动清理冗余文件
let profiles = Config::profiles().await;
let _ = profiles.latest_ref().auto_cleanup();
if should_update {
match CoreManager::global().update_config().await {
Ok(_) => {