-
-
Notifications
You must be signed in to change notification settings - Fork 32
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: EPERM error on windows installation #7
Conversation
Thanks for reopening here @MakakWasTaken 🙏 |
Wondering if we should use
https://code.visualstudio.com/api/references/vscode-api#ExtensionContext |
Might be smart, would allow for a workspace-based tmp file. |
Co-authored-by: Nicolas Hedger <[email protected]>
Co-authored-by: Nicolas Hedger <[email protected]>
Is there more missing on this PR? |
Hey, I just want to make sure it works as expected on all platforms. I'll test it this week and hopefully merge it before this weekend. |
Alright, just wanted to make sure I didn't miss anything. |
Currently, the code will copy the binary no matter where it comes from, but we only want to copy it when it comes from the project's dev dependencies. Particularly, we do not want to copy the binary when:
|
I ended up adding a new property called |
I was able to confirm it works on macOS. I'll be checking the other systems shortly. I've slightly reworded some logs and added a missing await statement to prevent the extension from starting the server before the file is copied over. |
fix: EPERM error on windows installation
Moved the pull request from here: biomejs/biome#735