mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-09-18 13:54:53 +08:00
fix(sync): 规范 release flow 状态码解析
This commit is contained in:
@@ -2519,7 +2519,7 @@ fn build_resource_state_report(state_dir: &Path) -> anyhow::Result<serde_json::V
|
||||
let flow_status_code = status_file
|
||||
.as_ref()
|
||||
.and_then(|status| status.status_code.as_deref())
|
||||
.and_then(ReleaseFlowStatusCode::from_str)
|
||||
.and_then(|code| code.parse::<ReleaseFlowStatusCode>().ok())
|
||||
.or_else(|| {
|
||||
if version_state
|
||||
.as_ref()
|
||||
|
||||
Reference in New Issue
Block a user