Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
richerfu committed Sep 28, 2024
1 parent fa71ec6 commit f3bf45c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ops/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ fn do_call(

let mut child = cmd
.spawn()
.map_err(|e| anyhow::format_err!("failed to launch `{cmd_name}{ctx_dir}`: {e}"))?;
.map_err(|e| anyhow::format_err!("failed to launch `{cmd_name}`{ctx_dir}: {e}"))?;
let result = child
.wait()
.map_err(|e| anyhow::format_err!("failed to launch `{cmd_name}{ctx_dir}`: {e}"))?;
.map_err(|e| anyhow::format_err!("failed to launch `{cmd_name}`{ctx_dir}: {e}"))?;

Ok(result.success())
}
Expand Down

0 comments on commit f3bf45c

Please sign in to comment.