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

directory function is prepending not appending #408

Open
widevel opened this issue Apr 23, 2021 · 0 comments
Open

directory function is prepending not appending #408

widevel opened this issue Apr 23, 2021 · 0 comments

Comments

@widevel
Copy link

widevel commented Apr 23, 2021

Hello. Maybe this is a bug or I don't know how to use the library

console.log(URI('https://www.npmjs.com/package/urijs').directory('build/').toString())

Should returns: https://www.npmjs.com/urijs/build

Returns: https://www.npmjs.com/build/urijs

regards

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

No branches or pull requests

1 participant