Skip to content

Formatting: leading '/' inconsistent #3

@judgej

Description

@judgej

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 '/'.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions