Skip to content

path.relative ignore backslash #35

@antaalt

Description

@antaalt

On windows, path uses backslash instead of forward slash, it will fail to resolve the relative path if given a path with backslash. A simple fix could be to fix the string passed by user with something such as .replace(/\\/g, "/")

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