XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Check for comments in copilot

b6feec9e
Heiner Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified etc/tool/copilot.py +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)