From d71fd4701fd7bdaec135b504ffa2f90d08e525f4 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Fri, 30 Dec 2022 09:02:44 +0100 Subject: [PATCH] chore: rm debug --- ethers-core/src/macros/ethers_crate.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/ethers-core/src/macros/ethers_crate.rs b/ethers-core/src/macros/ethers_crate.rs index ac277970..1912ab65 100644 --- a/ethers-core/src/macros/ethers_crate.rs +++ b/ethers-core/src/macros/ethers_crate.rs @@ -63,21 +63,7 @@ fn determine_ethers_crates() -> CrateNames { let lock_file = manifest_dir.join("Cargo.lock"); let lock_file_existed = lock_file.exists(); - let mut cmd = std::process::Command::new("node"); - cmd.arg("-e").arg( - r#" -const process = require("process"); -for (const [k, v] of Object.entries(process.env)) { - if (k.startsWith("CARGO_")) { - console.log(k, "=", v); - } -} - "#, - ); - eprintln!("{}", String::from_utf8(cmd.output().unwrap().stdout).unwrap()); - eprintln!("{}", manifest_dir.display()); let names = crate_names_from_metadata(manifest_dir); - eprintln!("{:#?}", names); // remove the lock file created from running the command if !lock_file_existed && lock_file.exists() {