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

Actually use result of best_effort_relative_path #4242

Closed
wants to merge 1 commit into from

Conversation

reporter123
Copy link

Description

Don't clobber result of best_effort_relative_path. Some how this was missed during but we had:
root_relative_path = best_effort_relative_path(path, root).as_posix()
root_relative_path = "/" + root_relative_path

Obviously not what was intended in PR #4222

Checklist - did you ...

  • [*] Add an entry in CHANGES.md if necessary?
  • [*] Add / update tests if necessary?
  • [*] Add new / update outdated documentation?

Don't clobber result of best_effort_relative_path.
Some how this was missed during but we had:
     root_relative_path = best_effort_relative_path(path, root).as_posix()
            root_relative_path = "/" + root_relative_path

Obviously not what was intended in PR #4222
@hauntsaninja
Copy link
Collaborator

This change isn't correct, the result is used, it just needs a slash preprended.

Copy link

diff-shades reports zero changes comparing this PR (fd0695c) to main (d1d4fc5).


What is this? | Workflow run | diff-shades documentation

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.

None yet

2 participants