cli/pkg/cmd/api
Robin Neatherway 0e51ec1699 Correct benign mistake in off-by-one guard
m[2] is the third element of m, rather than the second, so we have to
check instead that the len of m is at least 3.

Because the regular expression has two capture groups, the length of m
will always be 3, so currently the guard will always be true.
2021-08-19 14:41:04 +01:00
..
api.go 💅 cleanup placeholder implementation 2021-04-30 14:22:25 +02:00
api_test.go Use T.TempDir for temporary dirs in tests (#3580) 2021-05-07 12:21:26 +02:00
http.go Allow explicitly specifying the hostname for gh operations 2020-08-12 16:16:34 +02:00
http_test.go Allow explicitly specifying the hostname for gh operations 2020-08-12 16:16:34 +02:00
pagination.go Correct benign mistake in off-by-one guard 2021-08-19 14:41:04 +01:00
pagination_test.go Automatically add per_page=100 to paginated REST requests 2020-06-23 18:42:57 +02:00