From 9e87b03b3c0105f2f0ad6f5b64d3e9aa62d6c543 Mon Sep 17 00:00:00 2001 From: Mark Suckerberg Date: Wed, 13 Sep 2023 21:12:22 -0500 Subject: [PATCH] waaugh --- tools/ci/check_regex.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tools/ci/check_regex.py b/tools/ci/check_regex.py index b68ecadb5676..186e5a51bf45 100644 --- a/tools/ci/check_regex.py +++ b/tools/ci/check_regex.py @@ -803,11 +803,10 @@ 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::%s" % ( + output_write("::error file=%s,line=%i,title=Check Regex::%s" % ( f, line_no, - standard.message, - diff_added_content[f][line_no] + standard.message ), to_stdout=True, to_file=False) inner_prefix = prefix if len(removes): @@ -815,11 +814,10 @@ 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 removes: - output_write("::error file=%s,line=%i,title=%s::%s" % ( + output_write("::error file=%s,line=%i,title=Check Regex::%s" % ( f, line_no, - standard.message, - diff_removed_content[f][line_no] + standard.message ), to_stdout=True, to_file=False) inner_prefix = prefix