From 16af9817721ac1855c66f2dd67627c820b91be5f Mon Sep 17 00:00:00 2001 From: mo8it Date: Fri, 9 Aug 2024 01:27:31 +0200 Subject: [PATCH] Hide stderr of `cargo locate-project` --- src/init.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.rs b/src/init.rs index 26fe09c5..3a7ccf4d 100644 --- a/src/init.rs +++ b/src/init.rs @@ -30,7 +30,7 @@ pub fn init() -> Result<()> { .arg("-q") .arg("--workspace") .stdin(Stdio::null()) - .stderr(Stdio::inherit()) + .stderr(Stdio::null()) .output() .context(CARGO_LOCATE_PROJECT_ERR)?;