We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const assert = require('assert') const Github = require('github-api') const github = new Github() ;(async () => { const repo = github.getRepo('vuejs', 'rfcs') const all = (await repo.listPullRequests({ state: 'all' })).data.length const open = (await repo.listPullRequests({ state: 'open' })).data.length const closed = (await repo.listPullRequests({ state: 'closed' })).data.length assert.equal(all, open + closed) })()
https://github.com/vuejs/rfcs/pulls
The text was updated successfully, but these errors were encountered:
Ah. It's relating to all these pagination issues.
const all = await repo._requestAllPages( `/repos/${repo.__fullname}/pulls?state=all`, )
Sorry, something went wrong.
Is this related to pagination? This just seems like an options-passing issue.
I don't know.
But I found the _requestAllPages workaround in another issue relating to pagination.
_requestAllPages
So presumed it was that.
No branches or pull requests
Reproduction
See
https://github.com/vuejs/rfcs/pulls
The text was updated successfully, but these errors were encountered: