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

XFEstudio/gpt4free

Update copilot.py

afe62c30
H Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -0
Modified etc/tool/copilot.py +2 -0
@@ -30,6 +30,8 @@ def get_pr_details(github: Github) -> PullRequest:
30 30 Returns:
31 31 PullRequest: An object representing the pull request.
32 32 """
33 if not os.path.isfile('./pr_number'):
34 return
33 35 with open('./pr_number', 'r') as file:
34 36 pr_number = file.read().strip()
35 37 if not pr_number: