From f5b47fcbee422d23bfada5681a98e599918dbe4b Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 2 Jan 2026 23:28:28 +0800 Subject: Refactor config loading to read files after format detection --- crates/vcs_actions/src/actions/local_actions.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'crates/vcs_actions/src/actions') diff --git a/crates/vcs_actions/src/actions/local_actions.rs b/crates/vcs_actions/src/actions/local_actions.rs index 8799930..93ef4d5 100644 --- a/crates/vcs_actions/src/actions/local_actions.rs +++ b/crates/vcs_actions/src/actions/local_actions.rs @@ -262,9 +262,7 @@ pub async fn update_to_latest_info_action( )) .await else { - return Err(TcpTargetError::NotFound( - "Latest info not found.".to_string(), - )); + return Err(TcpTargetError::Io("Read latest info failed".to_string())); }; // Collect all local versions @@ -349,9 +347,7 @@ pub async fn update_to_latest_info_action( )) .await else { - return Err(TcpTargetError::NotFound( - "Latest info not found.".to_string(), - )); + return Err(TcpTargetError::Io("Read latest info failed".to_string())); }; // Collect files that need to know the holder -- cgit