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 false positive in gem list matching #2012

Merged
merged 1 commit into from
May 6, 2024
Merged

Conversation

vinistock
Copy link
Member

Motivation

Our condition may incorrectly match if a gem like ruby-lsp-rails is installed, but ruby-lsp isn't. We need to ensure that the list includes exactly ruby-lsp.

Implementation

Started using a regex to match the gem name.

@vinistock vinistock added bugfix This PR will fix an existing bug vscode This pull request should be included in the VS Code extension's release notes labels May 3, 2024
@vinistock vinistock self-assigned this May 3, 2024
@vinistock vinistock requested a review from a team as a code owner May 3, 2024 20:44
@vinistock vinistock requested review from andyw8 and st0012 May 3, 2024 20:44
vscode/src/workspace.ts Outdated Show resolved Hide resolved
@vinistock vinistock requested a review from andyw8 May 6, 2024 13:56
@vinistock vinistock merged commit 670b6ba into main May 6, 2024
39 checks passed
@vinistock vinistock deleted the vs/fix_gem_list_matching branch May 6, 2024 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug vscode This pull request should be included in the VS Code extension's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants