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(extensions/#3238): VersionLens extension is not working on Windows #3248

Merged
merged 5 commits into from
Mar 10, 2021

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Mar 9, 2021

Issue: The VersionLens extension wasn't showing version info on Windows

Defect: The codelens providers for version lens use document selectors with Windows-style paths, like **\package.json - but the glob utility we are using treats \ as an escape character, so those globs were never matching correctly on Windows.

Fix: Normalize the path separators for both the glob and the file paths we compare against, when checking to see if a provider matches the file path.

Fixes #3238

@bryphe bryphe merged commit 522c35e into master Mar 10, 2021
@bryphe bryphe deleted the fix/extensions/3238/versionlens-windows branch March 10, 2021 00:01
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.

Version lens extension fail with error
1 participant