chore: rm debug
This commit is contained in:
parent
9a7c1e41d0
commit
d71fd4701f
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue