Skip to content

Define how util.relative should work and test it thoroughly #128

@lydell

Description

@lydell

Just like for util.join, we should nail down how util.relative should work:

  • URLs vs paths
  • Edge cases, like the empty string
  • Path normalization?

Then we should write tests:

  • In test-util.js
  • For all code that uses util.relative

This is important, so we don’t repeat edge-case bugs like #123.

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