Commit 260b177f authored by shiqinfeng1's avatar shiqinfeng1 Committed by Felix Lange

common/compiler: support relative import paths (#17374)

parent c2c4c9f1
......@@ -48,6 +48,7 @@ func (s *Solidity) makeArgs() []string {
p := []string{
"--combined-json", "bin,bin-runtime,srcmap,srcmap-runtime,abi,userdoc,devdoc",
"--optimize", // code optimizer switched on
"--allow-paths", "., ./, ../", //default to support relative path: ./ ../ .
}
if s.Major > 0 || s.Minor > 4 || s.Patch > 6 {
p[1] += ",metadata,hashes"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment