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

Warn and skip invalid root module paths #248

Merged
merged 1 commit into from
Jul 28, 2020

Conversation

radeksimko
Copy link
Member

We evaluate symlinks for explicit paths and the side effect of doing that is also checking if the target directory actually exists.
This would previously fail the initialization and cause the LS to be effectively shut down.

It seems more logical to just raise a warning and let the user carry on as they may have some other valid paths and the server may still be useful for auto-formatting which doesn't require a root module.

@radeksimko radeksimko added the enhancement New feature or request label Jul 24, 2020
@radeksimko radeksimko requested a review from a team July 27, 2020 18:27
@radeksimko radeksimko merged commit 3ce9c88 into master Jul 28, 2020
@radeksimko radeksimko deleted the rm-loader-skip-invalid-paths branch July 28, 2020 06:15
@ghost
Copy link

ghost commented Aug 27, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the context necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants