(value)
| 103 | } |
| 104 | |
| 105 | function parseKeywords(value) { |
| 106 | const normalized = stripNoResponse(value); |
| 107 | if (!normalized) { |
| 108 | return undefined; |
| 109 | } |
| 110 | |
| 111 | const keywords = normalized |
| 112 | .split(/[\n,]/) |
| 113 | .map((entry) => entry.trim()) |
| 114 | .filter(Boolean); |
| 115 | |
| 116 | return keywords.length > 0 ? keywords : undefined; |
| 117 | } |
| 118 | |
| 119 | function parseChecklist(value) { |
| 120 | const checked = new Set(); |
no test coverage detected