(body: string, linesBeforeBody: number)
| 93 | } |
| 94 | |
| 95 | function finish(body: string, linesBeforeBody: number): ScriptExtractionResult { |
| 96 | if (body.trim().length === 0) { |
| 97 | return { code: "", error: EMPTY_FENCE_ERROR }; |
| 98 | } |
| 99 | return { code: "\n".repeat(linesBeforeBody) + body }; |
| 100 | } |
no outgoing calls
no test coverage detected