Skip to content

Commit

Permalink
Reverted set_cargo_config_env (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikarh authored Oct 30, 2023
1 parent e620a50 commit 95e0aa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ pub fn set_cargo_config_env() -> anyhow::Result<()> {
let cargo = env::var_os("CARGO");
let mut child = Command::new(cargo.as_deref().unwrap_or_else(|| "cargo".as_ref()))
.args(["config", "get", "-Zunstable-options", "--format=json"])
.stdout(Stdio::null())
.stdout(Stdio::piped())
.stderr(Stdio::null())
.stdin(Stdio::null())
.spawn()
.context("spawning `cargo config get` process")?;
Expand Down

0 comments on commit 95e0aa1

Please sign in to comment.