Skip to content

Conversation

@orta
Copy link
Contributor

@orta orta commented Jan 7, 2022

In 4.6, when a compile ends and there is more than one file with an error, we present something like:

Found 4 errors in 4 files.

Errors  Files
     1  /path/to/typescript/src/compiler/watch.ts:487
     1  /path/to/typescript/src/services/codefixes/requireInTs.ts:54
     1  /path/to/typescript/src/services/globalThisShim.ts:9
     1  /path/to/typescript/src/testRunner/externalCompileRunner.ts:4

This PR changes it to:

Found 4 errors in 4 files.

Errors  Files
     1  src/compiler/watch.ts:487
     1  src/services/codefixes/requireInTs.ts:54
     1  src/services/globalThisShim.ts:9
     1  src/testRunner/externalCompileRunner.ts:4

Based on your current working directory.

@orta orta requested a review from weswigham January 7, 2022 14:56
@orta orta self-assigned this Jan 7, 2022
@orta orta requested a review from andrewbranch January 7, 2022 14:57
@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Jan 7, 2022
@orta orta merged commit 8a8c71c into microsoft:main Jan 7, 2022
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants