(text: string, indentationLevel = 0)
| 198 | } |
| 199 | |
| 200 | function writeLine(text: string, indentationLevel = 0): void { |
| 201 | process.stdout.write(` ${'│ '.repeat(indentationLevel)}${text}\n`) |
| 202 | } |
| 203 | |
| 204 | function truncate(text: string, maxLength: number): string { |
| 205 | return maxLength !== undefined && text.length > maxLength |
no test coverage detected