(cell, runner)
| 138 | } |
| 139 | |
| 140 | function parseCommandName(cell, runner) { |
| 141 | const stripped = stripBackticks(cell); |
| 142 | const prefix = `${runner} `; |
| 143 | |
| 144 | if (stripped.startsWith(prefix)) { |
| 145 | return stripped.slice(prefix.length).trim(); |
| 146 | } |
| 147 | |
| 148 | return stripped; |
| 149 | } |
| 150 | |
| 151 | function firstSentence(paragraph) { |
| 152 | const collapsed = paragraph.replace(/\s+/gu, " ").trim(); |
no test coverage detected