Skip to content

Commit

Permalink
fix: move log so we can see how many issues were returned
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleytodd committed Feb 24, 2025
1 parent 068521b commit 715d717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ const pkg = require('./package.json')

const agendaIssues = []
for (const r of repos) {
console.log(`Fetching issues for ${r.owner}/${r.repo}`)
const _agendaIssues = await client.paginate('GET /repos/{owner}/{repo}/issues', {
owner: r.owner,
repo: r.repo,
state: 'open',
labels: agendaLabel
})
console.log(`Fetching issues for ${r.owner}/${r.repo}: Found ${_agendaIssues.length}`)
for (const i of _agendaIssues) {
if (!agendaIssues.find((ii) => ii.url === i.url)) {
agendaIssues.push(i)
Expand Down

0 comments on commit 715d717

Please sign in to comment.