Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Sep 13, 2023
1 parent 2aeaa81 commit 755749f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/nix_rs/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ fn to_cli(cmd: &tokio::process::Command) -> String {
.into_iter()
.map(|s| s.to_string_lossy().to_string())
.collect::<Vec<String>>();
let cli = vec![program].into_iter().chain(args).collect::<Vec<String>>();
let cli = vec![program]
.into_iter()
.chain(args)
.collect::<Vec<String>>();
shell_words::join(cli)
}

Expand Down

0 comments on commit 755749f

Please sign in to comment.