Fix getAnsi on RomeDiagnosticsError
MODIFY
packages/rome/error.ts
packages/rome/error.ts
@@ -33,7 +33,7 @@ export function throwDiagnostics(diagnostics: PartialDiagnostics) {
printDiagnosticsToString(diagnostics, {}, 'none'),
);
err.getHTML = () => printDiagnosticsToString(diagnostics, {}, 'none');
- err.getHTML = () => printDiagnosticsToString(diagnostics, {}, 'ansi');
+ err.getAnsi = () => printDiagnosticsToString(diagnostics, {}, 'ansi');
throw err;
}

Fix getAnsi on RomeDiagnosticsError