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

Formatting: leading '/' inconsistent #3

Open
judgej opened this issue Aug 24, 2019 · 0 comments
Open

Formatting: leading '/' inconsistent #3

judgej opened this issue Aug 24, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@judgej
Copy link
Member

judgej commented Aug 24, 2019

The top level directory will get a leading '/' in its listing, but lower level directories will not. This needs to be more consistent.

I would suggest always output a leading '/', so add one if one is missing. At the top level, if the user supplied a leading '/', then make sure it does not get doubled up since the $dirname will be an empty string and is beinc prefixed to the $basename with a '/'.

@judgej judgej added the enhancement New feature or request label Aug 24, 2019
@judgej judgej self-assigned this Aug 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant