Use relative paths for the end of compile report (#47344)

This commit is contained in:
Orta Therox
2022-01-07 19:55:55 +00:00
committed by GitHub
parent 6fc0584dd5
commit 8a8c71c147
13 changed files with 83 additions and 75 deletions

View File

@@ -773,7 +773,7 @@ namespace ts {
function createReportErrorSummary(sys: System, options: CompilerOptions | BuildOptions): ReportEmitErrorSummary | undefined {
return shouldBePretty(sys, options) ?
(errorCount, filesInError) => sys.write(getErrorSummaryText(errorCount, filesInError, sys.newLine)) :
(errorCount, filesInError) => sys.write(getErrorSummaryText(errorCount, filesInError, sys.newLine, sys)) :
undefined;
}