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's entry point resolution on Windows #7

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Fix biome's entry point resolution on Windows #7

merged 1 commit into from
Dec 6, 2023

Conversation

mataha
Copy link
Contributor

@mataha mataha commented Dec 6, 2023

biome is a shell script that Windows can't run on its own:

[WinError 193] %1 is not a valid Win32 application

This commit makes LSP-biome point to biome.cmd on Windows instead.

`biome` is a shell script that Windows can't run on its own:

    [WinError 193] %1 is not a valid Win32 application

This commit makes LSP-biome point to `biome.cmd` on Windows instead.
@rchl
Copy link
Member

rchl commented Dec 6, 2023

Thanks

@rchl rchl merged commit 5def955 into sublimelsp:main Dec 6, 2023
1 check passed
@mataha mataha deleted the patch-1 branch December 6, 2023 19:27
@rwols
Copy link
Member

rwols commented Dec 6, 2023

How does this work? I thought sublime.platform was a function, not a global property?

@rwols
Copy link
Member

rwols commented Dec 6, 2023

I don't believe comparing strings to functions is the intended behavior

>>> sublime.platform
<function platform at 0x0000013D4BF42EE0>
>>> sublime.platform()
'windows'

@mataha
Copy link
Contributor Author

mataha commented Dec 6, 2023

Oops, you're right - I somehow messed that up when I was moving the changes from my local copy...

@mataha
Copy link
Contributor Author

mataha commented Dec 6, 2023

#8

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.

3 participants