chore: rm debug

This commit is contained in:
DaniPopes 2022-12-30 09:02:44 +01:00
parent 9a7c1e41d0
commit d71fd4701f
No known key found for this signature in database
GPG Key ID: 0F09640DDB7AC692
1 changed files with 0 additions and 14 deletions

View File

@ -63,21 +63,7 @@ fn determine_ethers_crates() -> CrateNames {
let lock_file = manifest_dir.join("Cargo.lock"); let lock_file = manifest_dir.join("Cargo.lock");
let lock_file_existed = lock_file.exists(); 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); let names = crate_names_from_metadata(manifest_dir);
eprintln!("{:#?}", names);
// remove the lock file created from running the command // remove the lock file created from running the command
if !lock_file_existed && lock_file.exists() { if !lock_file_existed && lock_file.exists() {