Skip to content

On windows if the path ends up absolute it has the wrong path seperators #20

Description

@lukeapage

e.g.

image

I suspect getRelativePath only converts the slash in one place:
https://github.com/stringham/copy-with-imports/blob/master/src/pathresolver.ts#L55

I would suggest either always replacing all back slashes or even using if (path.seperator is backslash then replace).

Are you still looking at this project, would you accept a PR?

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