P1B: Refactor (script/github/close-issues.ts:66): Function with high complexity (count = 31): main
Open
@zcarpent is already working on this.
Since Sep 7, 2026.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 126
- PR merge metrics
- No merged PRs in 30d
Description
Uniqueness check
- I have searched open issues and confirmed this file + smell is not already taken.
Full path to the Typescript file
script/github/close-issues.ts
Function(s)/scope targeted
main()
Relevant Qlty output
Function with high complexity (count = 31): main
66 async function main() {
67 let page = 1
68 let closed = 0
69
70 while (true) {
71 const res = await fetch(
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.