diff --git a/src/commands/sync.ts b/src/commands/sync.ts index 08cc0cc..ebbc5c8 100644 --- a/src/commands/sync.ts +++ b/src/commands/sync.ts @@ -77,7 +77,7 @@ export const sync = defineCommand({ if (issue.labels.length > 0) metadata.labels = issue.labels.map(label => label.name) - const comments = issue.comments > 0 ? await fetchIssueComments(args.repo, issue.number) : [] + const comments = issue.comments > 0 ? await fetchIssueComments(repo, issue.number) : [] for (const key in issue.reactions) { const reaction = key as keyof typeof issue['reactions']