(str: string, indent: string, skipFirst = false)
| 69 | } |
| 70 | |
| 71 | export function indentAll(str: string, indent: string, skipFirst = false) { |
| 72 | return str |
| 73 | .split('\n') |
| 74 | .map((line, index) => (skipFirst && index === 0 ? '' : indent) + line) |
| 75 | .join('\n') |
| 76 | } |
no outgoing calls
no test coverage detected