(content: string)
| 596 | } |
| 597 | |
| 598 | function extractIncompleteItems(content: string): string[] { |
| 599 | const items: string[] = []; |
| 600 | const matches = content.matchAll(/-\s+\[\s\]\s+(.+)$/gm); |
| 601 | for (const m of matches) { |
| 602 | items.push(m[1].trim()); |
| 603 | } |
| 604 | return items.slice(0, 8); |
| 605 | } |
| 606 | |
| 607 | function extractCompletedItems(content: string): string[] { |
| 608 | const items: string[] = []; |
no outgoing calls
no test coverage detected