Do not show the additional file/errors table when there's 1 file with many errors (#47345)

* Use relative paths for the end of compile report

* Have a tighter suffix for multiple errors in one file

* Review feedback

* Refactors, and adds color

* Update baselinies
This commit is contained in:
Orta Therox authored and GitHub committed 2022-01-19 11:56:27 +00:00
1 parent 9f6483929b
commit 113a681aee
39 files changed
+153 -144

No files matched your search

+1 -2
View File
@@ -4165,7 +4165,6 @@
"category": "Message",
"code": 6041
},
"Generates corresponding '.map' file.": {
"category": "Message",
"code": 6043
@@ -4949,7 +4948,7 @@
"category": "Message",
"code": 6259
},
"Found {0} errors in 1 file.": {
"Found {0} errors in the same file, starting at: {1}": {
"category": "Message",
"code": 6260
},
+20 -6
View File
@@ -130,6 +130,15 @@ namespace ts {
Diagnostics.Found_0_errors_Watching_for_file_changes;
}
function prettyPathForFileError(error: ReportFileInError, cwd: string) {
const line = formatColorAndReset(":" + error.line, ForegroundColorEscapeSequences.Grey);
if (pathIsAbsolute(error.fileName) && pathIsAbsolute(cwd)) {
return getRelativePathFromDirectory(cwd, error.fileName, /* ignoreCase */ false) + line;
}
return error.fileName + line;
}
export function getErrorSummaryText(
errorCount: number,
filesInError: readonly (ReportFileInError | undefined)[],
@@ -140,22 +149,27 @@ namespace ts {
const nonNilFiles = filesInError.filter(fileInError => fileInError !== undefined);
const distinctFileNamesWithLines = nonNilFiles.map(fileInError => `${fileInError!.fileName}:${fileInError!.line}`)
.filter((value, index, self) => self.indexOf(value) === index);
const firstFileReference = nonNilFiles[0] && prettyPathForFileError(nonNilFiles[0], host.getCurrentDirectory());
const d = errorCount === 1 ?
createCompilerDiagnostic(
filesInError[0] !== undefined ?
Diagnostics.Found_1_error_in_1 :
Diagnostics.Found_1_error,
errorCount,
distinctFileNamesWithLines[0]) :
firstFileReference) :
createCompilerDiagnostic(
distinctFileNamesWithLines.length === 0 ?
Diagnostics.Found_0_errors :
distinctFileNamesWithLines.length === 1 ?
Diagnostics.Found_0_errors_in_1_file :
Diagnostics.Found_0_errors_in_the_same_file_starting_at_Colon_1 :
Diagnostics.Found_0_errors_in_1_files,
errorCount,
distinctFileNamesWithLines.length);
return `${newLine}${flattenDiagnosticMessageText(d.messageText, newLine)}${newLine}${newLine}${errorCount > 1 ? createTabularErrorsDisplay(nonNilFiles, host) : ""}`;
distinctFileNamesWithLines.length === 1 ? firstFileReference : distinctFileNamesWithLines.length);
const suffix = distinctFileNamesWithLines.length > 1 ? createTabularErrorsDisplay(nonNilFiles, host) : "";
return `${newLine}${flattenDiagnosticMessageText(d.messageText, newLine)}${newLine}${newLine}${suffix}`;
}
function createTabularErrorsDisplay(filesInError: (ReportFileInError | undefined)[], host: HasCurrentDirectory) {
@@ -180,8 +194,8 @@ namespace ts {
" ".repeat(leftPaddingGoal - errorCountDigitsLength)
: "";
const relativePath = getRelativePathFromDirectory(host.getCurrentDirectory(), file!.fileName, /* ignoreCase */ false);
tabularData += `${leftPadding}${errorCount} ${relativePath}:${file!.line}\n`;
const fileRef = prettyPathForFileError(file!, host.getCurrentDirectory());
tabularData += `${leftPadding}${errorCount} ${fileRef}\n`;
});
return tabularData;
@@ -65,7 +65,5 @@
}
}
Found 2 errors in 1 file.
Found 2 errors in the same file, starting at: tests/cases/compiler/deeplyNestedAssignabilityIssue.ts:22
Errors Files
2 tests/cases/compiler/deeplyNestedAssignabilityIssue.ts:22
@@ -95,6 +95,6 @@
Found 6 errors in 3 files.
Errors Files
2 tests/cases/compiler/file1.ts:1
2 tests/cases/compiler/file2.ts:1
2 tests/cases/compiler/file3.ts:1
2 tests/cases/compiler/file1.ts:1
2 tests/cases/compiler/file2.ts:1
2 tests/cases/compiler/file3.ts:1
@@ -48,5 +48,5 @@
Found 2 errors in 2 files.
Errors Files
1 tests/cases/compiler/file1.ts:1
1 tests/cases/compiler/file2.ts:1
1 tests/cases/compiler/file1.ts:1
1 tests/cases/compiler/file2.ts:1
@@ -88,5 +88,5 @@
Found 6 errors in 2 files.
Errors Files
3 tests/cases/compiler/file1.ts:2
3 tests/cases/compiler/file2.ts:2
3 tests/cases/compiler/file1.ts:2
3 tests/cases/compiler/file2.ts:2
@@ -50,5 +50,5 @@
Found 2 errors in 2 files.
Errors Files
1 tests/cases/compiler/file1.ts:1
1 tests/cases/compiler/file2.ts:1
1 tests/cases/compiler/file1.ts:1
1 tests/cases/compiler/file2.ts:1
@@ -95,5 +95,5 @@
Found 6 errors in 2 files.
Errors Files
3 tests/cases/compiler/file1.ts:3
3 tests/cases/compiler/file2.ts:4
3 tests/cases/compiler/file1.ts:3
3 tests/cases/compiler/file2.ts:4
@@ -95,5 +95,5 @@
Found 6 errors in 2 files.
Errors Files
3 tests/cases/compiler/file1.ts:3
3 tests/cases/compiler/file2.ts:5
3 tests/cases/compiler/file1.ts:3
3 tests/cases/compiler/file2.ts:5
@@ -59,5 +59,5 @@
Found 2 errors in 2 files.
Errors Files
1 tests/cases/compiler/file1.ts:1
1 tests/cases/compiler/file2.ts:3
1 tests/cases/compiler/file1.ts:1
1 tests/cases/compiler/file2.ts:3
@@ -23,5 +23,5 @@
!!! error TS2345: Type '{ default: () => void; }' provides no match for the signature '(): void'.
!!! related TS7038 tests/cases/compiler/index.ts:1:1: Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead.
Found 1 error in tests/cases/compiler/index.ts:3
Found 1 error in tests/cases/compiler/index.ts:3
@@ -140,5 +140,5 @@
Found 21 errors in 2 files.
Errors Files
18 tests/cases/compiler/a.ts:1
3 tests/cases/compiler/b.ts:1
18 tests/cases/compiler/a.ts:1
3 tests/cases/compiler/b.ts:1
@@ -21,5 +21,5 @@
!!! error TS2322: Object literal may only specify known properties, and 'a' does not exist in type '{ c: string; }'.
};
Found 1 error in tests/cases/compiler/multiLineContextDiagnosticWithPretty.ts:2
Found 1 error in tests/cases/compiler/multiLineContextDiagnosticWithPretty.ts:2
@@ -15,5 +15,5 @@
!!! error TS1005: '}' expected.
!!! related TS1007 tests/cases/compiler/index.ts:1:11: The parser expected to find a '}' to match the '{' token here.
Found 1 error in tests/cases/compiler/index.ts:2
Found 1 error in tests/cases/compiler/index.ts:2
@@ -26,7 +26,5 @@
!!! error TS2322: Type 'number' is not assignable to type 'string'.
}
}
Found 3 errors in 1 file.
Found 3 errors in the same file, starting at: tests/cases/compiler/prettyFileWithErrorsAndTabs.ts:3
Errors Files
3 tests/cases/compiler/prettyFileWithErrorsAndTabs.ts:3
@@ -40,7 +40,7 @@ Output::
   ~~~~~~~~~~~~~~~~~
Found 1 error in src/project/tsconfig.json:6
Found 1 error in src/project/tsconfig.json:6
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -78,7 +78,7 @@ pkg3/src/keys.ts
pkg3/src/index.ts
Matched by include pattern '**/*' in 'pkg3/tsconfig.json'
Found 1 error in /user/username/projects/myproject/pkg3/src/keys.ts:2
Found 1 error in pkg3/src/keys.ts:2
@@ -78,7 +78,7 @@ pkg3/src/keys.ts
pkg3/src/index.ts
Matched by include pattern '**/*' in 'pkg3/tsconfig.json'
Found 1 error in /user/username/projects/myproject/pkg3/src/keys.ts:2
Found 1 error in pkg3/src/keys.ts:2
@@ -54,7 +54,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -313,8 +313,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -500,7 +500,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -634,7 +634,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -675,7 +675,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -722,9 +722,9 @@ Output::
Found 3 errors in 3 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -939,9 +939,9 @@ Output::
Found 3 errors in 3 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -977,8 +977,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
@@ -1014,8 +1014,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
@@ -1056,9 +1056,9 @@ Output::
Found 3 errors in 3 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -1217,7 +1217,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -1388,7 +1388,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -54,7 +54,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -313,8 +313,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -500,7 +500,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -634,7 +634,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -675,7 +675,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -722,9 +722,9 @@ Output::
Found 3 errors in 3 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -939,9 +939,9 @@ Output::
Found 3 errors in 3 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -977,8 +977,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
@@ -1014,8 +1014,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
@@ -1056,9 +1056,9 @@ Output::
Found 3 errors in 3 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -1217,7 +1217,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -1388,7 +1388,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -54,7 +54,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -281,8 +281,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -465,7 +465,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -592,7 +592,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -633,7 +633,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -680,9 +680,9 @@ Output::
Found 3 errors in 3 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -885,9 +885,9 @@ Output::
Found 3 errors in 3 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -923,8 +923,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
@@ -960,8 +960,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
@@ -1002,9 +1002,9 @@ Output::
Found 3 errors in 3 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -1152,7 +1152,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -1311,7 +1311,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -198,7 +198,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -440,9 +440,9 @@ Output::
Found 3 errors in 3 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -771,7 +771,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -198,7 +198,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -440,9 +440,9 @@ Output::
Found 3 errors in 3 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -771,7 +771,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -195,7 +195,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -405,9 +405,9 @@ Output::
Found 3 errors in 3 files.
Errors Files
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
1 src/project/src/directUse.ts:2
1 src/project/src/indirectUse.ts:2
1 src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -713,7 +713,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/noChangeFileWithEmitSpecificError.ts:1
Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -50,8 +50,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/anotherFileWithSameReferenes.ts:2
1 src/project/src/main.ts:2
1 src/project/src/anotherFileWithSameReferenes.ts:2
1 src/project/src/main.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
Program root files: ["/src/project/src/anotherFileWithSameReferenes.ts","/src/project/src/filePresent.ts","/src/project/src/main.ts"]
Program options: {"composite":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"}
@@ -202,8 +202,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/anotherFileWithSameReferenes.ts:2
1 src/project/src/main.ts:2
1 src/project/src/anotherFileWithSameReferenes.ts:2
1 src/project/src/main.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
Program root files: ["/src/project/src/anotherFileWithSameReferenes.ts","/src/project/src/filePresent.ts","/src/project/src/main.ts"]
Program options: {"composite":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"}
@@ -247,8 +247,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/anotherFileWithSameReferenes.ts:2
1 src/project/src/main.ts:2
1 src/project/src/anotherFileWithSameReferenes.ts:2
1 src/project/src/main.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
Program root files: ["/src/project/src/anotherFileWithSameReferenes.ts","/src/project/src/filePresent.ts","/src/project/src/main.ts"]
Program options: {"composite":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"}
@@ -377,8 +377,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/anotherFileWithSameReferenes.ts:2
1 src/project/src/main.ts:2
1 src/project/src/anotherFileWithSameReferenes.ts:2
1 src/project/src/main.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
Program root files: ["/src/project/src/anotherFileWithSameReferenes.ts","/src/project/src/filePresent.ts","/src/project/src/main.ts"]
Program options: {"composite":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"}
@@ -503,8 +503,8 @@ Output::
Found 2 errors in 2 files.
Errors Files
1 src/project/src/anotherFileWithSameReferenes.ts:2
1 src/project/src/main.ts:3
1 src/project/src/anotherFileWithSameReferenes.ts:2
1 src/project/src/main.ts:3
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
Program root files: ["/src/project/src/anotherFileWithSameReferenes.ts","/src/project/src/filePresent.ts","/src/project/src/main.ts","/src/project/src/newFile.ts"]
Program options: {"composite":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"}
@@ -46,7 +46,7 @@ Output::
   ~
Found 1 error in /src/src/main.ts:2
Found 1 error in src/src/main.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
Program root files: ["/src/shared/types/db.ts","/src/src/main.ts","/src/src/other.ts"]
@@ -172,7 +172,7 @@ Output::
   ~
Found 1 error in /src/src/main.ts:2
Found 1 error in src/src/main.ts:2
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
Program root files: ["/src/shared/types/db.ts","/src/src/main.ts","/src/src/other.ts"]
@@ -53,7 +53,7 @@ Output::
The parser expected to find a '}' to match the '{' token here.
Found 1 error in /src/src/main.ts:4
Found 1 error in src/src/main.ts:4
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
Program root files: ["/src/shared/types/db.ts","/src/src/main.ts","/src/src/other.ts"]
@@ -172,7 +172,7 @@ Output::
The parser expected to find a '}' to match the '{' token here.
Found 1 error in /src/src/main.ts:4
Found 1 error in src/src/main.ts:4
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
Program root files: ["/src/shared/types/db.ts","/src/src/main.ts","/src/src/other.ts"]
@@ -30,7 +30,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error in src/project/tsconfig.json:1
Found 1 error in src/project/tsconfig.json:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -36,7 +36,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~~
Found 1 error in src/project/tsconfig.json:1
Found 1 error in src/project/tsconfig.json:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -47,7 +47,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error in /src/project/src/index.tsx:1
Found 1 error in src/project/src/index.tsx:1
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
@@ -154,7 +154,7 @@ Output::
   ~~~
Found 1 error in /users/username/projects/project/src/index.ts:1
Found 1 error in src/index.ts:1
@@ -133,7 +133,7 @@ Output::
   ~~~~~
Found 1 error in /users/username/projects/project/index.tsx:1
Found 1 error in index.tsx:1
@@ -29,7 +29,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error in /users/username/projects/project/index.tsx:1
Found 1 error in index.tsx:1
@@ -147,7 +147,7 @@ Output::
   ~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error in /users/username/projects/project/index.tsx:1
Found 1 error in index.tsx:1
@@ -178,7 +178,7 @@ node_modules/preact/jsx-runtime/index.d.ts
index.tsx
Matched by include pattern '**/*' in 'tsconfig.json'
Found 1 error in /users/username/projects/project/index.tsx:1
Found 1 error in index.tsx:1
@@ -30,7 +30,7 @@ Output::
   ~
Found 1 error in /users/username/projects/project/file2.ts:1
Found 1 error in file2.ts:1
@@ -146,7 +146,7 @@ Output::
   ~
Found 1 error in /users/username/projects/project/file2.ts:1
Found 1 error in file2.ts:1
@@ -30,7 +30,7 @@ Output::
   ~
Found 1 error in /users/username/projects/project/file2.ts:1
Found 1 error in file2.ts:1
@@ -135,7 +135,7 @@ Output::
   ~
Found 1 error in /users/username/projects/project/file2.ts:1
Found 1 error in file2.ts:1
@@ -111,7 +111,7 @@ Output::
   ~~~~~~
Found 1 error in /users/username/projects/project/index.ts:1
Found 1 error in index.ts:1
@@ -59,5 +59,5 @@
Found 4 errors in 2 files.
Errors Files
2 tests/cases/conformance/jsdoc/mod1.js:1
2 tests/cases/conformance/jsdoc/mod2.js:1
2 tests/cases/conformance/jsdoc/mod1.js:1
2 tests/cases/conformance/jsdoc/mod2.js:1