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
+5 -8
View File
@@ -102,14 +102,11 @@ impl SolidityCompiler for Resolc {
};
let mut command = AsyncCommand::new(&self.resolc_path);
unsafe {
command
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.stderr(Stdio::piped())
.arg("--standard-json")
.pre_exec(|| Ok(()))
};
command
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.stderr(Stdio::piped())
.arg("--standard-json");
if let Some(ref base_path) = base_path {
command.arg("--base-path").arg(base_path);