| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
I'm sorry, I don't think I want to do this. It would mean that if the script is run from a directory other than the repo root, errors in the input will be reported incorrectly, and that may confuse users (or even editors). We only need the relative path in the generated output files, which is exactly where they were before this PR (and after mine). |
Sorry, something went wrong.
Oh, ok 👍 I was restoring the original behavior from pre-#106713 where we had 3 places where os.path.relpath was used:
Please, feel free to close :) |
Sorry, something went wrong.
|
I think we accidentally stumbled upon a better way. :-) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
In the original code before c413207#diff-65feee563fa44b472b07751184c6f557699f84b3c2ef79174bfd5d538d748272 there were three places where we had os.path.relpath calls. I've changed them to be just prettify_filename calls.
Now I am adding os.path.relpath back to all these three places by including it in prettify_filename.
Plus, changing a comment that is a bit misleading.