Skip to content

Conversation

@lukeapage
Copy link
Contributor

@cloudchen sorry I messed up with my previous P.R.
In some cases it made it worse. I've taken another look at this to make a better fix...

if src is relative and baseDir is absolute then path.relative can give strange results. We need to normalise both the paths to file paths in order to compare them correctly with relative.

if src is relative and baseDir is absolute then path.relative can give strange results. We need to normalise both the paths to file paths in order to compare them correctly with relative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant