Skip to content

Commit

Permalink
fix: pass cli flag path instead of deprecated abbreviation p
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Aug 16, 2024
1 parent 19acbc1 commit 9121112
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vvm/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def _compile(
vyper_binary = get_executable(vyper_version)

stdoutdata, stderrdata, command, proc = wrapper.vyper_wrapper(
vyper_binary=vyper_binary, f="combined_json", p=base_path, **kwargs
vyper_binary=vyper_binary, f="combined_json", path=base_path, **kwargs
)

return json.loads(stdoutdata)
Expand Down Expand Up @@ -167,7 +167,7 @@ def compile_standard(
vyper_binary = get_executable(vyper_version)

stdoutdata, stderrdata, command, proc = wrapper.vyper_wrapper(
vyper_binary=vyper_binary, stdin=json.dumps(input_data), standard_json=True, p=base_path
vyper_binary=vyper_binary, stdin=json.dumps(input_data), standard_json=True, path=base_path
)

compiler_output = json.loads(stdoutdata)
Expand Down

0 comments on commit 9121112

Please sign in to comment.