fix: resolve CI lint and type errors
Some checks failed
CI/CD / lint-and-test (push) Has been cancelled
Some checks failed
CI/CD / lint-and-test (push) Has been cancelled
This commit is contained in:
@@ -331,7 +331,7 @@ class ReviewEngine:
|
||||
continue
|
||||
|
||||
file_language = language
|
||||
if not file_language and self.repo:
|
||||
if not file_language and self.repo is not None:
|
||||
file_language = self.repo.get_file_language(file_change.filename)
|
||||
|
||||
prompt = ReviewPromptTemplates.get_prompt(
|
||||
|
||||
Reference in New Issue
Block a user