fix: avoid incorrect ToDo header

This commit is contained in:
joosomi
2025-05-24 03:04:59 +09:00
parent 788c0c12e6
commit 66131854c1
2 changed files with 4 additions and 12 deletions

View File

@ -154,7 +154,7 @@ def convert_to_markdown_v2(output_data: dict,
for key, value in output_data['review'].items():
if value is None or value == '' or value == {} or value == []:
if key.lower() not in ['can_be_split', 'key_issues_to_review', 'todo_sections']:
if key.lower() not in ['can_be_split', 'key_issues_to_review']:
continue
key_nice = key.replace('_', ' ').capitalize()
emoji = emojis.get(key_nice, "")