There was an error while loading. Please reload this page.
1 parent 7303b14 commit 1d25e48Copy full SHA for 1d25e48
1 file changed
crates/bashkit/src/interpreter/mod.rs
@@ -5141,10 +5141,8 @@ impl Interpreter {
5141
|| is_keyword(cmd_name)
5142
{
5143
Some(cmd_name.to_string())
5144
- } else if let Some(path) = self.resolve_command_path(cmd_name).await {
5145
- Some(path)
5146
} else {
5147
- None
+ self.resolve_command_path(cmd_name).await
5148
};
5149
let mut result = if let Some(name) = output {
5150
ExecResult::ok(format!("{}\n", name))
0 commit comments