Skip to content

Commit

Permalink
Use the first status
Browse files Browse the repository at this point in the history
  • Loading branch information
owenthereal committed Nov 7, 2013
1 parent 58d1917 commit dfad420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit dfad420

Please sign in to comment.