We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 233bbe0 commit a3285fcCopy full SHA for a3285fc
1 file changed
src/cli.ts
@@ -101,7 +101,7 @@ try {
101
]);
102
} catch (e) {
103
if (e instanceof UnsupportedError) {
104
- ts.sys.write(ts.formatDiagnostic(e.toDiagnostic(), DiagnosticHostInstance));
+ ts.sys.write(ts.formatDiagnosticsWithColorAndContext([e.toDiagnostic()], DiagnosticHostInstance));
105
ts.sys.exit(ts.ExitStatus.DiagnosticsPresent_OutputsSkipped);
106
}
107
0 commit comments