Skip to content

Commit 715d717

Browse files
committed
fix: move log so we can see how many issues were returned
1 parent 068521b commit 715d717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ const pkg = require('./package.json')
9696

9797
const agendaIssues = []
9898
for (const r of repos) {
99-
console.log(`Fetching issues for ${r.owner}/${r.repo}`)
10099
const _agendaIssues = await client.paginate('GET /repos/{owner}/{repo}/issues', {
101100
owner: r.owner,
102101
repo: r.repo,
103102
state: 'open',
104103
labels: agendaLabel
105104
})
105+
console.log(`Fetching issues for ${r.owner}/${r.repo}: Found ${_agendaIssues.length}`)
106106
for (const i of _agendaIssues) {
107107
if (!agendaIssues.find((ii) => ii.url === i.url)) {
108108
agendaIssues.push(i)

0 commit comments

Comments
 (0)