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 specify path adds leading slash on windows #117

Merged
merged 1 commit into from
Jun 17, 2023

Conversation

sebastianhoffmann
Copy link
Contributor

uri.path adds a leading slash on windows when selecting the zig executable. This causes zls to crash, which is most likely the crash reported in #115.

It's very likely that more uri.path usages are wrong and should become uri.fsPath.

Relevant API documentation: https://code.visualstudio.com/api/references/vscode-api#Uri

@Vexu
Copy link
Member

Vexu commented Jun 17, 2023

Thanks.

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.

2 participants