Skip to content

Commit

Permalink
Redirect of stderr to /dev/null
Browse files Browse the repository at this point in the history
  • Loading branch information
merendamattia committed Jan 24, 2025
1 parent cd9a9b1 commit a01481a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/python/journal/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def compile_solidity_sources(source_dir, json_dir):
output_file = os.path.join(json_dir, f"{os.path.splitext(filename)[0]}.json")

# Command to compile and save the bytecode in JSON format
command = f"solc --combined-json bin,bin-runtime --pretty-json {input_file} > {output_file}"
command = f"solc --combined-json bin,bin-runtime --pretty-json {input_file} > {output_file} 2> /dev/null"

# Execute the compilation command
try:
Expand Down

0 comments on commit a01481a

Please sign in to comment.