Skip to content

directory function is prepending not appending #408

Description

@widevel

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions