1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00

Hide stderr of cargo locate-project

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

@ -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)?;