From 2f4f51b385b314a9de9cef7c379877ae4214c48c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eucl=C3=A9cio=20Josias=20Rodrigues?= Date: Mon, 23 Nov 2020 16:55:20 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20n=C3=A3o=20lan=C3=A7ar=20erro=20com=20ap?= =?UTF-8?q?enas=20avisos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 745c20d..9c8cd82 100644 --- a/src/main.py +++ b/src/main.py @@ -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()