Skip to content

Commit adc0ef1

Browse files
theahuranori-agent
andcommitted
style: fix nightly rustfmt formatting for let-chain
🤖 Generated with [Nori](https://noriagentic.com) Co-Authored-By: Nori <contact@tilework.tech>
1 parent d6bd23d commit adc0ef1

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

nori-rs/acp/src/registry.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -728,12 +728,13 @@ pub fn get_agent_config(agent_name: &str) -> Result<AcpAgentConfig> {
728728
// this entirely.
729729
let mut env = HashMap::new();
730730
if agent == AgentKind::ClaudeCode
731-
&& let Ok(path) = which::which("claude") {
732-
env.insert(
733-
"CLAUDE_CODE_EXECUTABLE".to_string(),
734-
path.to_string_lossy().to_string(),
735-
);
736-
}
731+
&& let Ok(path) = which::which("claude")
732+
{
733+
env.insert(
734+
"CLAUDE_CODE_EXECUTABLE".to_string(),
735+
path.to_string_lossy().to_string(),
736+
);
737+
}
737738

738739
return Ok(AcpAgentConfig {
739740
agent,

0 commit comments

Comments
 (0)