github-tools / github-tools/github
listPullRequests({ state: 'all' }) does not return all pull requests.
オープン
- 主要言語
- JavaScript
- スター
- 3.8k
- フォーク
- 809
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
# Reproduction
```js
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)
})()
```
# See
https://github.com/vuejs/rfcs/pulls
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。