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: scan workspace folders until biome is found #108

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

nhedger
Copy link
Member

@nhedger nhedger commented Jan 28, 2024

Summary

This PR fixes an issue where Biome cannot be found from a workspace folder's dependencies if it's not the first workspace in the list.

Details

When opening a VS Code workspace with multiple folders, the extension would loop through the list of workspace folders to locate the biome binary in the workspace's dependencies.

Unfortunately, a logic error prevented the extension from looking past the first workspace folder, which meant that depending on the folders' order, the extension could not locate Biome correctly.

@nhedger nhedger changed the title fix: scan all workspace folders fix: scan workspace folders until biome is found Jan 28, 2024
@nhedger nhedger merged commit 5cb86dd into main Jan 28, 2024
3 checks passed
@nhedger nhedger deleted the fix/scan-all-workspace-folders branch January 28, 2024 18:47
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.

1 participant