Skip to content

directory function is prepending not appending #408

@widevel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions