diff --git a/crates/trycmd/src/schema.rs b/crates/trycmd/src/schema.rs index e1b9205..14dca62 100644 --- a/crates/trycmd/src/schema.rs +++ b/crates/trycmd/src/schema.rs @@ -713,7 +713,7 @@ impl JoinedArgs { #[allow(clippy::inherent_to_string_shadow_display)] fn to_string(&self) -> String { - shlex::join(self.inner.iter().map(|s| s.as_str())) + shlex::try_join(self.inner.iter().map(|s| s.as_str())).unwrap() } }