Skip to content

'ads-github-fetch-all-upstreams -vcu foo*' leads to 'jq: error (at <stdin>:3): Cannot index string with string "owner"' #33

@salewski

Description

@salewski
...
ads-github-fetch-all-upstreams (info): configured GitHub API base URL: "https://api.github.com/"
ads-github-fetch-all-upstreams (info): configured HTTP 'Accept:' header for GitHub API version: "Accept: application/vnd.github.v3+json"
ads-github-fetch-all-upstreams (info): requesting /user/repos page 1 of 10
ads-github-fetch-all-upstreams (info): requesting /user/repos page 2 of 10
ads-github-fetch-all-upstreams (info): requesting /user/repos page 3 of 10
jq: error (at <stdin>:3): Cannot index string with string "owner"
ads-github-fetch-all-upstreams (info): requesting /user/repos page 4 of 10
jq: error (at <stdin>:3): Cannot index string with string "owner"
ads-github-fetch-all-upstreams (info): requesting /user/repos page 5 of 10
jq: error (at <stdin>:3): Cannot index string with string "owner"
ads-github-fetch-all-upstreams (info): requesting /user/repos page 6 of 10
ads-github-fetch-all-upstreams (info): requesting /user/repos page 7 of 10
jq: error (at <stdin>:3): Cannot index string with string "owner"
...

In the presence of the jq errors above, the ads-github-fetch-all-upstreams tool does not stop. Should it?

Note that re-running exactly the same command a few minutes later succeeded without the above jq errors.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions