Skip to content

Commit 739916e

Browse files
[autofix.ci] apply automated fixes (attempt 2/3)
1 parent f24a9a9 commit 739916e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

crates/forge_main/src/zsh/plugin.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,10 @@ fn execute_zsh_script_with_streaming(script_content: &str, script_name: &str) ->
136136
// Exit codes 1-125 are typically used for reporting issues found, not execution
137137
// errors
138138
if let Some(code) = status.code()
139-
&& code > 125 {
140-
anyhow::bail!("ZSH {} script failed with exit code: {}", script_name, code);
141-
}
139+
&& code > 125
140+
{
141+
anyhow::bail!("ZSH {} script failed with exit code: {}", script_name, code);
142+
}
142143
}
143144

144145
Ok(())

0 commit comments

Comments
 (0)