(line: string)
| 56 | const errorLines = error.split(NEWLINE_REGEX) |
| 57 | if (Arr.isNonEmptyReadonlyArray(errorLines)) { |
| 58 | const annotateLine = (line: string): Doc.AnsiDoc => |
| 59 | Doc.annotate(Doc.text(line), Ansi.combine(Ansi.italicized, Ansi.red)) |
| 60 | const prefix = Doc.cat(Doc.annotate(pointer, Ansi.red), Doc.space) |
| 61 | const lines = Arr.map(errorLines, (str) => annotateLine(str)) |
| 62 | return Doc.cursorSavePosition.pipe( |
no test coverage detected