Skip to content

Conversation

cotti
Copy link
Contributor

@cotti cotti commented Mar 31, 2025

Follow-up to #835

As mentioned by @bmorelli25 on #873 (comment), there was another place using TrimStart(string) that cut away portions of the resulting path. This PR introduces an extension method for ReadOnlySpan<char> and applies it in the appropriate places.

…mmed relative path from a comparison between current inferred path and its original declaration, and fallback to returning itself trimmed in case of a mismatch
@cotti cotti added the fix label Mar 31, 2025
@cotti cotti self-assigned this Mar 31, 2025
@cotti cotti requested a review from a team as a code owner March 31, 2025 22:38
@cotti cotti merged commit 8ee477f into main Mar 31, 2025
15 checks passed
@cotti cotti deleted the fix/get_trimmed_relative_path branch March 31, 2025 22:52
@bmorelli25
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants