From 476d64bc1863fcdb5e2399365a3477a45643c709 Mon Sep 17 00:00:00 2001 From: "Hussam.lawen" Date: Mon, 11 Mar 2024 11:30:05 +0200 Subject: [PATCH] fix --- pr_agent/tools/pr_reviewer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_agent/tools/pr_reviewer.py b/pr_agent/tools/pr_reviewer.py index 595000056..854e351c6 100644 --- a/pr_agent/tools/pr_reviewer.py +++ b/pr_agent/tools/pr_reviewer.py @@ -108,7 +108,7 @@ async def run(self) -> None: 'config': dict(get_settings().config)} get_logger().debug("Relevant configs", artifacts=relevant_configs) - if self.incremental.is_incremental and hasattr(self.git_provider, "file_set") and not self.git_provider.unreviewed_files_set: + if self.incremental.is_incremental and hasattr(self.git_provider, "unreviewed_files_set") and not self.git_provider.unreviewed_files_set: get_logger().info(f"Incremental review is enabled for {self.pr_url} but there are no new files") previous_review_url = "" if hasattr(self.git_provider, "previous_review"):