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: biome installed with pnpm fails to start #34

Merged
merged 3 commits into from
Jul 26, 2024
Merged

Conversation

luckydye
Copy link
Collaborator

Resolves #33

With this PR the extension always uses node_modules/@biomejs/biome/bin/biome for the worktree. Only when biome is not installed in the project we use the platform specific binary directly.

Note:
In theroy we could use oxc_resolver to find the package with the correct binary, but resolving absolute paths behaves odd in the wasm runtime. Maybe in the future we can do a better job with this.

test/test.ts Outdated Show resolved Hide resolved
@luckydye luckydye merged commit 4fa04f0 into main Jul 26, 2024
3 checks passed
@luckydye luckydye deleted the fix/pnpm-fix branch October 19, 2024 16:25
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 0.1.0 failed to locate biome language server
2 participants