(value)
| 131 | } |
| 132 | |
| 133 | function stripBackticks(value) { |
| 134 | // Remove every backtick, not just leading/trailing. Markdown cells like |
| 135 | // `` `path/to/script.sh` (then X) `` carry an inline closing backtick that a |
| 136 | // start/end-only strip would leave on the token after a whitespace split. |
| 137 | return value.replace(/`/gu, "").trim(); |
| 138 | } |
| 139 | |
| 140 | function parseCommandName(cell, runner) { |
| 141 | const stripped = stripBackticks(cell); |
no outgoing calls
no test coverage detected