Skip to content

Commit

Permalink
fix: não lançar erro com apenas avisos
Browse files Browse the repository at this point in the history
  • Loading branch information
Euclécio Josias Rodrigues authored and Euclécio Josias Rodrigues committed Nov 23, 2020
1 parent 9858df3 commit 2f4f51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,5 @@ def comment_on_pr(comment):
comment = build_comment(feedback)
comment_on_pr(comment)

if len(feedback['error']) > 0:
if feedback['error']['count'] > 0:
raise ValueError()

0 comments on commit 2f4f51b

Please sign in to comment.