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
1 changed files with 1 additions and 2 deletions
|
|
@ -168,8 +168,7 @@ impl Session {
|
|||
{
|
||||
Self::from_json(&value)?
|
||||
}
|
||||
Err(_) => Self::from_jsonl(&contents)?,
|
||||
Ok(_) => Self::from_jsonl(&contents)?,
|
||||
Err(_) | Ok(_) => Self::from_jsonl(&contents)?,
|
||||
};
|
||||
Ok(session.with_persistence_path(path.to_path_buf()))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue