Skip to content

Commit 76ed915

Browse files
committed
fix: safe attribute access in review prompt template
1 parent 9fd28e5 commit 76ed915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pr_agent/settings/pr_reviewer_prompts.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Ticket Description:
217217
#####
218218
{%- endif %}
219219
220-
{%- if ticket.requirements %}
220+
{%- if ticket.requirements is defined %}
221221
Ticket Requirements:
222222
#####
223223
{{ ticket.requirements }}

0 commit comments

Comments
 (0)