fix: add allow paths (#667)

This commit is contained in:
Matthias Seitz 2021-12-10 16:50:15 +01:00 committed by GitHub
parent 7bd42be0d8
commit ab949f7858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -358,6 +358,7 @@ impl Solc {
use tokio::io::AsyncWriteExt; use tokio::io::AsyncWriteExt;
let content = serde_json::to_vec(input)?; let content = serde_json::to_vec(input)?;
let mut child = tokio::process::Command::new(&self.solc) let mut child = tokio::process::Command::new(&self.solc)
.args(&self.args)
.arg("--standard-json") .arg("--standard-json")
.stdin(Stdio::piped()) .stdin(Stdio::piped())
.stderr(Stdio::piped()) .stderr(Stdio::piped())