Skip to content

Commit d4006b9

Browse files
committed
remove ansi colors from linter messages
1 parent cfd6976 commit d4006b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CodeMirror.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ let createLinterExtension = (errors: array<Error.t>): CM6.extension => {
572572
| #Error => Error
573573
| #Warning => Warning
574574
},
575-
message: err.text,
575+
message: err.text->Ansi.parse->Ansi.Printer.plainString,
576576
}
577577

578578
Array.push(diagnostics, diagnostic)

0 commit comments

Comments
 (0)