diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-01-02 23:28:28 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-01-03 00:43:49 +0800 |
| commit | f5b47fcbee422d23bfada5681a98e599918dbe4b (patch) | |
| tree | 27925d2147a52828ba4ca4c33443944849d5458f /crates/vcs_actions | |
| parent | 118f24df4024099b6fbdd6d74fca46ae089ac07a (diff) | |
Refactor config loading to read files after format detection
Diffstat (limited to 'crates/vcs_actions')
| -rw-r--r-- | crates/vcs_actions/src/actions/local_actions.rs | 8 |
1 files changed, 2 insertions, 6 deletions
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 |
