(repo ghrepo.Interface, number int)
| 272 | } |
| 273 | |
| 274 | func pullRequestError(repo ghrepo.Interface, number int) error { |
| 275 | return fmt.Errorf("%s#%d is a pull request; artifacts are only supported on issues", ghrepo.FullName(repo), number) |
| 276 | } |
| 277 | |
| 278 | // CheckType refuses an artifact whose type this version of gh doesn't know. A |
| 279 | // new type can need handling gh doesn't have, so commands whose behavior |
no test coverage detected