Skip to content

Commit 2f4f51b

Browse files
Euclécio Josias RodriguesEuclécio Josias Rodrigues
authored andcommitted
fix: não lançar erro com apenas avisos
1 parent 9858df3 commit 2f4f51b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ def comment_on_pr(comment):
8282
comment = build_comment(feedback)
8383
comment_on_pr(comment)
8484

85-
if len(feedback['error']) > 0:
85+
if feedback['error']['count'] > 0:
8686
raise ValueError()

0 commit comments

Comments
 (0)