(num)
| 219 | } |
| 220 | |
| 221 | async function getPR(num) { |
| 222 | let res = await octokit.pullRequests.get({ |
| 223 | owner: 'adobe', |
| 224 | repo: 'react-spectrum', |
| 225 | pull_number: Number(num) |
| 226 | }); |
| 227 | return res; |
| 228 | } |
| 229 | |
| 230 | function getHeadingText(node) { |
| 231 | return node.children |