提交 23d06c00 编写于 作者: J Jingwen Owen Ou

Use the first status

上级 d993ae68
......@@ -93,7 +93,7 @@ func (gh *GitHub) CiStatus(sha string) (*octokat.Status, error) {
return nil, nil
}
return &statuses[len(statuses)-1], nil
return &statuses[0], nil
}
func (gh *GitHub) ForkRepository(name, owner string, noRemote bool) (repo *octokat.Repository, err error) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册