Skip to content
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

Fix web TS Server trying to read files outside of project root #173591

Merged
merged 1 commit into from Feb 6, 2023

Conversation

mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Feb 6, 2023

There's a bug on the TS Server side that causes it to traverse out of the project root when checking for directories like node_modules. On web this ends up being super slow because it goes to the network

This fix blocks those reads and also cleans up a few formatting issues in the file

There's a bug on the TS Server side that causes it to traverse out of the project root when checking for directories like `node_modules`. On web this ends up being super slow because it goes to the network

This fix blocks those reads
@mjbvz mjbvz merged commit eec5c90 into microsoft:main Feb 6, 2023
c-claeys pushed a commit to c-claeys/vscode that referenced this pull request Feb 16, 2023
…soft#173591)

There's a bug on the TS Server side that causes it to traverse out of the project root when checking for directories like `node_modules`. On web this ends up being super slow because it goes to the network

This fix blocks those reads
@github-actions github-actions bot locked and limited conversation to collaborators Mar 23, 2023
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.

None yet

4 participants