Skip to content

Report compiler options errors as well as part of configFileDiag event#25851

Merged
sheetalkamat merged 1 commit into
masterfrom
configFileDiag
Jul 30, 2018
Merged

Report compiler options errors as well as part of configFileDiag event#25851
sheetalkamat merged 1 commit into
masterfrom
configFileDiag

Conversation

@sheetalkamat
Copy link
Copy Markdown
Member

Fixes #25741

if (!this.eventHandler || this.suppressDiagnosticEvents) {
return;
}
const diagnostics = project.getLanguageService().getCompilerOptionsDiagnostics();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

concat?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using same array since gets a new array so we can just use same one.

@sheetalkamat sheetalkamat merged commit 9196b7d into master Jul 30, 2018
@sheetalkamat sheetalkamat deleted the configFileDiag branch July 30, 2018 18:07
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants