Fix tests

This commit is contained in:
Omar Abdulla
2025-08-18 17:23:30 +03:00
parent 609ececea6
commit 79ce4a239c
4 changed files with 5 additions and 12 deletions
Generated
-2
View File
@@ -4561,7 +4561,6 @@ version = "0.1.0"
dependencies = [ dependencies = [
"alloy", "alloy",
"anyhow", "anyhow",
"dashmap",
"revive-common", "revive-common",
"revive-dt-common", "revive-dt-common",
"revive-dt-config", "revive-dt-config",
@@ -4595,7 +4594,6 @@ dependencies = [
"revive-dt-format", "revive-dt-format",
"serde", "serde",
"serde_json", "serde_json",
"tracing",
] ]
[[package]] [[package]]
+5 -8
View File
@@ -102,14 +102,11 @@ impl SolidityCompiler for Resolc {
}; };
let mut command = AsyncCommand::new(&self.resolc_path); let mut command = AsyncCommand::new(&self.resolc_path);
unsafe { command
command .stdin(Stdio::piped())
.stdin(Stdio::piped()) .stdout(Stdio::piped())
.stdout(Stdio::piped()) .stderr(Stdio::piped())
.stderr(Stdio::piped()) .arg("--standard-json");
.arg("--standard-json")
.pre_exec(|| Ok(()))
};
if let Some(ref base_path) = base_path { if let Some(ref base_path) = base_path {
command.arg("--base-path").arg(base_path); command.arg("--base-path").arg(base_path);
-1
View File
@@ -11,7 +11,6 @@ rust-version.workspace = true
[dependencies] [dependencies]
anyhow = { workspace = true } anyhow = { workspace = true }
alloy = { workspace = true } alloy = { workspace = true }
dashmap = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }
tokio = { workspace = true } tokio = { workspace = true }
-1
View File
@@ -14,7 +14,6 @@ revive-dt-format = { workspace = true }
revive-dt-compiler = { workspace = true } revive-dt-compiler = { workspace = true }
anyhow = { workspace = true } anyhow = { workspace = true }
tracing = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
serde_json = { workspace = true } serde_json = { workspace = true }