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

Adds the missing '/' prefix for root directories #200

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

gosuwachu
Copy link
Contributor

Before:
Screenshot 2023-12-12 at 23 22 05

After:
Screenshot 2023-12-12 at 23 22 14

@Byron Byron force-pushed the add_missing_slash_in_root_dir branch from 6f513b5 to 94c008f Compare December 13, 2023 08:21
Copy link
Owner

@Byron Byron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, a great catch!

Not showing the prefix / on the root is fully intentional, even though it now doesn't work as it was supposed to anymore. The general idea is that path given by the user are left verbatim.

I re-added some logic that will detect typical user-specified paths, but not all of them due to ambiguity.

Of course, there would be a way to do it perfectly, but I thought it wasn't worth it.

@Byron Byron merged commit 9a15867 into Byron:main Dec 13, 2023
2 checks passed
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

3 participants