Skip to content

Use relative paths for the end of compile report #47344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 7, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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