mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
fmt, test fix
This commit is contained in:
parent
3210e87815
commit
861e50a5f4
2 changed files with 9 additions and 4 deletions
|
@ -255,7 +255,12 @@ pub fn run_cmd<'a, I: IntoIterator<Item = &'a str>, E: IntoIterator<Item = (&'a
|
|||
.stdout(Stdio::piped())
|
||||
.stderr(Stdio::piped())
|
||||
.spawn()
|
||||
.unwrap_or_else(|err| panic!("Encountered error:\n\t{:?}\nWhile executing cmd:\n\t{:?}", err, cmd_str));
|
||||
.unwrap_or_else(|err| {
|
||||
panic!(
|
||||
"Encountered error:\n\t{:?}\nWhile executing cmd:\n\t{:?}",
|
||||
err, cmd_str
|
||||
)
|
||||
});
|
||||
|
||||
{
|
||||
let stdin = child.stdin.as_mut().expect("Failed to open stdin");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue