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

Consistently normalize absolute and relative paths #963

Merged
merged 2 commits into from
Jan 22, 2020

Conversation

GeorchW
Copy link
Contributor

@GeorchW GeorchW commented Dec 9, 2019

Normalize even absolute paths, not just relative ones. Otherwise, absolute paths containing '.' and '..' may not be normalized out,

The personal itch I was tackling was that, when compiling with zapcc, the diagnostics had paths containing '..' . This made VSCode open a separate editor when clicking on the diagnostic, displaying the same file using a different path, while not displaying the squiggles in the original editor.

@GeorchW
Copy link
Contributor Author

GeorchW commented Jan 4, 2020

Uhm, is there something wrong with this PR?

@bobbrow
Copy link
Member

bobbrow commented Jan 8, 2020

@GeorchW, I'm sorry, we haven't had a chance to review it yet. December is a month where most MS employees take vacation, and we're spread pretty thin right now. My developer assigned to this project also had to take some emergency time off this month so things are running more slowly than expected. I apologize for that. We will take a look as soon as we can.

@bobbrow bobbrow added this to the 1.3.0 milestone Jan 8, 2020
@bobbrow bobbrow merged commit 17a4606 into microsoft:develop Jan 22, 2020
@bobbrow
Copy link
Member

bobbrow commented Jan 22, 2020

Thank you for your contribution. Again, I'm sorry it has taken so long to commit it.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants