Hide stderr of cargo locate-project

This commit is contained in:
mo8it 2024-08-09 01:27:31 +02:00
parent fc141b8dfc
commit 16af981772

View file

@ -30,7 +30,7 @@ pub fn init() -> Result<()> {
.arg("-q") .arg("-q")
.arg("--workspace") .arg("--workspace")
.stdin(Stdio::null()) .stdin(Stdio::null())
.stderr(Stdio::inherit()) .stderr(Stdio::null())
.output() .output()
.context(CARGO_LOCATE_PROJECT_ERR)?; .context(CARGO_LOCATE_PROJECT_ERR)?;