mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-06 18:13:29 +02:00
Hide stderr of cargo locate-project
This commit is contained in:
+1
-1
@@ -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)?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user