返回提交历史
Modified
etc/tool/copilot.py
+1
-1
XFEstudio/gpt4free
Check for comments in copilot
b6feec9e
代码差异
1 个文件
+1
-1
@@ -217,7 +217,7 @@ def main():
217
217
if not pull:
218
218
print(f"No PR number found")
219
219
exit()
220
if pull.get_reviews().totalCount > 0 or pull.get_comments().totalCount > 0:
220
if pull.get_reviews().totalCount > 0 or pull.get_issue_comments().totalCount > 0:
221
221
print(f"Has already a review")
222
222
exit()
223
223
diff = get_diff(pull.diff_url)