Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Sep 14, 2023
1 parent f0db47a commit f0e8014
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tools/ci/check_regex.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,21 +803,23 @@ def git_get_detached_head_ref(head: Head, ref_info: str) -> str:
#Github actions annotations
if args.github_actions and matching != RESULT_OK:
for line_no in adds:
output_write("::error file=%s,line=%i,title=%s" % (
output_write("::error file=%s,line=%i,title=%s::%s" % (
f,
line_no,
standard.message
standard.message,
diff_added_content[f][line_no]
), to_stdout=True, to_file=False)
inner_prefix = prefix
if len(removes):
show_items.append("------- (%4i): %s" % (len(removes), removes))
#Github actions annotations
if args.github_actions and matching != RESULT_OK:
for line_no in removes:
output_write("::error file=%s,line=%i,title=%s" % (
output_write("::error file=%s,line=%i,title=%s::%s" % (
f,
line_no,
standard.message
standard.message,
diff_removed_content[f][line_no]
), to_stdout=True, to_file=False)
inner_prefix = prefix

Expand Down

0 comments on commit f0e8014

Please sign in to comment.