This commit is contained in:
Alexander T committed 2019-06-14 12:18:27 +03:00
1 parent 713d6ec155
commit 627211b06b
9 files changed
+55 -56

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ function writeProtocolFile(outputFile: string, protocolTs: string, typeScriptSer
if (protocolDts === undefined) {
const diagHost: ts.FormatDiagnosticsHost = {
getCanonicalFileName(f) { return f; },
getCurrentDirectory() { return '.'; },
getCurrentDirectory() { return "."; },
getNewLine() { return "\r\n"; }
};
const diags = emitResult.diagnostics.map(d => ts.formatDiagnostic(d, diagHost)).join("\r\n");