(args)
| 76 | } |
| 77 | |
| 78 | function sourceForArgs(args) { |
| 79 | const pathArg = args.find((value) => value.startsWith('repos/')) || ''; |
| 80 | if (pathArg.includes('/issues/')) return 'github-issue-comment'; |
| 81 | if (pathArg.endsWith('/reviews')) return 'github-pr-review'; |
| 82 | return 'github-review-comment'; |
| 83 | } |
| 84 | |
| 85 | function fetchWithGh(commands, ghPath) { |
| 86 | const batches = []; |