diff --git a/lib/meetings.js b/lib/meetings.js index 82c4e51..5896d9a 100644 --- a/lib/meetings.js +++ b/lib/meetings.js @@ -48,6 +48,7 @@ const shouldCreateNextMeetingIssue = module.exports.shouldCreateNextMeetingIssue return false } + console.log(`Checking for existing meeting ${opts.owner}/${opts.repo}#${opts.meetingLabels}`) const meetings = await issues.getMeetingIssues(client, { owner: opts.owner, repo: opts.repo, @@ -58,8 +59,11 @@ const shouldCreateNextMeetingIssue = module.exports.shouldCreateNextMeetingIssue return i.title === nextIssueTitle }) if (!shouldCreate) { + console.log(`Found existing meeting issue: #${shouldCreate.id}`) return false } + console.log('No existing meeting issues found') + console.log(meetings) // Load issues for agenda return issue