When an existing `headRepo` couldn't be detected, it's time to auto-fork one. Unfortunately, an obscure Go behavior made it seem like `headRepo` was a non-nil value, where in fact it did contain a nil pointer which would crash the process. This avoids ever assigning nil pointers to `var headRepo ghrepo.Interface`. |
||
|---|---|---|
| .. | ||
| client.go | ||
| client_test.go | ||
| fake_http.go | ||
| pull_request_test.go | ||
| queries_issue.go | ||
| queries_issue_test.go | ||
| queries_org.go | ||
| queries_pr.go | ||
| queries_repo.go | ||
| queries_repo_test.go | ||