mirror of
https://github.com/ultraworkers/claw-code-parity.git
synced 2026-06-23 18:21:10 +00:00
fix(runtime): merge identical session load match arms
Resolves clippy::match_same_arms in session.rs. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
ace763eede
commit
9cfbb8ceed
@ -168,8 +168,7 @@ impl Session {
|
|||||||
{
|
{
|
||||||
Self::from_json(&value)?
|
Self::from_json(&value)?
|
||||||
}
|
}
|
||||||
Err(_) => Self::from_jsonl(&contents)?,
|
Err(_) | Ok(_) => Self::from_jsonl(&contents)?,
|
||||||
Ok(_) => Self::from_jsonl(&contents)?,
|
|
||||||
};
|
};
|
||||||
Ok(session.with_persistence_path(path.to_path_buf()))
|
Ok(session.with_persistence_path(path.to_path_buf()))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user