cli/pkg
Mislav Marohnić ead6bf87d9 api: handle HTTP 409 error message from the server
Previously, "errors" field was either an array of strings or an array of
error objects. This covers an additional case when "errors" is a string:

    $ gh api orgs/cli/actions/permissions/repositories
    {
      "message": "Conflict",
      "errors": "Actions are enabled for all repositories",
      "documentation_url": "https://docs.github.com/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization"
    }
2021-12-06 19:54:54 +01:00
..
cmd api: handle HTTP 409 error message from the server 2021-12-06 19:54:54 +01:00
cmdutil Fix stack overflow in AddJSONFlags (#4614) 2021-10-27 14:56:59 +02:00
export Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
extensions binary extension create 2021-11-23 16:53:45 -06:00
findsh Improvements to gh extensions 2021-06-21 16:54:08 +02:00
githubsearch Convert bool to string early for pr list draft flag 2021-09-20 11:29:37 -07:00
githubtemplate Use T.TempDir for temporary dirs in tests (#3580) 2021-05-07 12:21:26 +02:00
httpmock Adding gh release download for .zip and .tar.gz 2021-11-30 15:52:51 +01:00
iostreams codespace: progress indication, logging (#4555) 2021-10-21 18:04:04 +02:00
jsoncolor Fix "null" display in colored JSON output 2021-05-12 16:56:52 +02:00
liveshare Oops, left it as second from debugging 2021-10-28 16:33:13 -07:00
markdown Enable emoji in markdown 2021-04-12 09:50:51 -07:00
prompt make prompt.Confirm stubbable 2021-06-08 15:49:37 -05:00
set Have StringSet preserve original order of values 2021-04-07 19:55:09 +02:00
surveyext Fix test flaky due to race in showing/hiding cursor 2021-06-14 10:58:53 +02:00
text Add helper template functions for rendering tables (#3519) 2021-08-23 21:00:25 +02:00