Skip to content

Commit

Permalink
use stderr instead of stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
wsipak committed Sep 22, 2021
1 parent 5b71387 commit 8f940fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def main(conf_file, extra_opts, exclude_paths, log_file, patch, path):
print("Running " + " ".join(command) + "\n\n")
verible_linted = subprocess.run(command, capture_output=True)

issues = verible_linted.stdout.decode("utf-8")
issues = verible_linted.stderr.decode("utf-8")
log_raw(issues, log_file if log_file else 'verible-verilog-lint.log')

exit(issues != "")
Expand Down

0 comments on commit 8f940fd

Please sign in to comment.