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

Call Uri.file instead of Uri.parse for file paths #6168

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

davidwengier
Copy link
Contributor

@davidwengier davidwengier commented Aug 18, 2023

Fixes microsoft/vscode-dotnettools#368

Hilariously the API docs for Uri.file call out exactly why it exists, and why we should have been calling it all along, with an example that matches exactly the scenario the user reported: https://github.com/microsoft/vscode-uri/blob/5af89bac2109c0dc7f904b20cc88cac0568747b1/src/uri.ts#L281-L298
🤣🤣

@davidwengier davidwengier requested a review from a team as a code owner August 18, 2023 06:30
@davidwengier davidwengier merged commit 675d74e into dotnet:main Aug 18, 2023
@davidwengier davidwengier deleted the FixUriCreation branch August 18, 2023 19:52
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.

[BUG] Project system ran into an unexpected problem
2 participants