A PR is not guaranteed to have commits, it seems, so add a guard against assuming that there is always a head commit. |
||
|---|---|---|
| .. | ||
| checkout | ||
| checks | ||
| close | ||
| comment | ||
| create | ||
| diff | ||
| edit | ||
| list | ||
| merge | ||
| ready | ||
| reopen | ||
| review | ||
| shared | ||
| status | ||
| view | ||
| pr.go | ||
A PR is not guaranteed to have commits, it seems, so add a guard against assuming that there is always a head commit. |
||
|---|---|---|
| .. | ||
| checkout | ||
| checks | ||
| close | ||
| comment | ||
| create | ||
| diff | ||
| edit | ||
| list | ||
| merge | ||
| ready | ||
| reopen | ||
| review | ||
| shared | ||
| status | ||
| view | ||
| pr.go | ||