Skip to content

Commit

Permalink
fix: pass discussion number as ... number
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Oct 23, 2023
1 parent b2b8537 commit f450771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/github-discussion-toc.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ if (!owner || !repo || !discussionNumber) {
process.exit(1);
}

main(octokit, owner, repo, discussionNumber).catch(console.log);
main(octokit, owner, repo, Number(discussionNumber)).catch(console.log);

0 comments on commit f450771

Please sign in to comment.