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 LSP update logic #13

Merged
merged 1 commit into from Jun 1, 2023
Merged

Conversation

laur89
Copy link
Contributor

@laur89 laur89 commented May 31, 2023

  • LSP update logic had couple of problems:
    a) it prompted user for version update before verifying whether it's even needed;
    b) if update failed or user opted out, then module returned undefined instead of the existing binary path

Fixes #11

Note this change has not been tested!

- LSP update logic had couple of problems:
  a) it prompted user for version update before verifying whether it's even needed;
  b) if update failed or user opted out, then module returned undefined
     instead of the existing binary path

Fixes NoahTheDuke#11
@NoahTheDuke
Copy link
Owner

I don't have a ton of time for OS work, but this looks good to me, so let's merge and find out!

@NoahTheDuke NoahTheDuke merged commit de573ab into NoahTheDuke:main Jun 1, 2023
@laur89
Copy link
Contributor Author

laur89 commented Jun 14, 2023

After testing looks good to me. Maybe cut a release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lsp update logic breaks functionality
2 participants