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

vscode_extension cleanup: downcase extension names before comparison while evaluating for cleanup #1304

Merged
merged 7 commits into from
Feb 9, 2024

Conversation

vraravam
Copy link
Contributor

@vraravam vraravam commented Feb 9, 2024

fixes #1302 in a consistent manner such that cleanup doesn't uninstall if the case mismatch occurs

…reating from scratch) an incorrect extension name

(The extension as named by their author should retain case)
Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vraravam, really great work so far! A few thoughts on some tweaks here.

lib/bundle/commands/cleanup.rb Outdated Show resolved Hide resolved
lib/bundle/vscode_extension_dumper.rb Outdated Show resolved Hide resolved
lib/bundle/vscode_extension_installer.rb Show resolved Hide resolved
spec/bundle/commands/cleanup_command_spec.rb Show resolved Hide resolved
Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for your first contribution! Without people like you submitting PRs we couldn't run this project. You rock, @vraravam!

@MikeMcQuaid MikeMcQuaid merged commit bb63221 into Homebrew:master Feb 9, 2024
4 checks passed
@vraravam vraravam deleted the fix-1302 branch February 9, 2024 20:37
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VSCode extensions that have capital letters seem to not be registered, and get uninstalled
2 participants