Skip to content

path.resolve will add prefix / in windows  #18

@zhixzhan

Description

@zhixzhan

In windows 10 edge browser, all resolve result will prefix /
e.g 1

path.resolve('', 'C:/<path>') 

will get

/C:/<path>

it suppose to get

C:/<path>

e.g 2

path.resolve('C:/<path>', 'a/b/c') 

will get

/C:/<path>/a/b/c

it suppose to get

C:/<path>/a/b/c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions