Skip to content
Snippets Groups Projects
Commit 3b0f60e5 authored by Kirill Elagin's avatar Kirill Elagin Committed by Eelco Dolstra
Browse files

baseNameOf: Enhance `basename` compatibility

* If the path ends with a slash, drop it.
* If the remaining path doesn’t contain slashes, just return it.

Fixes #574.
parent 896428c8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment