diff --git a/Plugins/BridgeJS/Sources/TS2Skeleton/JavaScript/src/cli.js b/Plugins/BridgeJS/Sources/TS2Skeleton/JavaScript/src/cli.js index f708082c..41f6e419 100644 --- a/Plugins/BridgeJS/Sources/TS2Skeleton/JavaScript/src/cli.js +++ b/Plugins/BridgeJS/Sources/TS2Skeleton/JavaScript/src/cli.js @@ -22,13 +22,13 @@ class DiagnosticEngine { getCurrentDirectory: () => ts.sys.getCurrentDirectory(), }; } - + /** * @param {readonly ts.Diagnostic[]} diagnostics */ tsDiagnose(diagnostics) { const message = ts.formatDiagnosticsWithColorAndContext(diagnostics, this.formattHost); - console.log(message); + process.stderr.write(message, "utf-8"); } static LEVELS = {