Closed
Description
openedon Dec 4, 2016
The output of maktaba#path#MakeRelative
doesn't have a trailing slash even if the {path}
argument had one:
maktaba#path#MakeRelative('/foo', '/foo/bar/')
→ 'bar'
Since trailing slashes are significant in maktaba's path handling, explicitly signifying a directory path instead of a file path, it would be better to preserve any trailing slash from input to output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment