-
Notifications
You must be signed in to change notification settings - Fork 8
fix: explicitly specify and bump typescript related deps, fix debug filtering #554
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -165,10 +165,7 @@ function filterDiagnostics(diagnostics: ts.Diagnostic[]): { | |
..._.pick(item, 'messageText'), | ||
}; | ||
|
||
if ( | ||
result.fileName === '/shell-api.ts' || | ||
result.fileName?.startsWith('/connection-') | ||
) { | ||
if (result.fileName?.endsWith('shell-api.ts')) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. connection files actually start with connection_, not connection- but it is only the -shell-api.ts ones that are huge and clog up debug output, causing it to be cut off and then we can't see all the actual errors. |
||
delete result.text; | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We didn't have this specified explicitly which might be why in mongosh the language server is using old types - could be that it is just using the hoisted version of @types/node there.