You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
path.relative behavior inconsistent on case insensitive file system. #18406
duplicateIssues and PRs that are duplicates of other issues or PRs.invalidIssues and PRs that are invalid.pathIssues and PRs related to the path subsystem.
/Users/matt/test/dest/dir/file.json is correct. So the case is effecting the result and I would expect the result to be the same on a case insensitive file system.
This is a duplicate of several other reports. To summarize: it's working as expected, it's not a bug.
The path module doesn't perform I/O, it manipulates strings. It doesn't know about case (in)sensitivity because that is a property of the file system. It can't know about it either because that would rule out the possibility of constructing paths that don't already exist.
duplicateIssues and PRs that are duplicates of other issues or PRs.invalidIssues and PRs that are invalid.pathIssues and PRs related to the path subsystem.
Activity
bnoordhuis commentedon Jan 27, 2018
This is a duplicate of several other reports. To summarize: it's working as expected, it's not a bug.
The
pathmodule doesn't perform I/O, it manipulates strings. It doesn't know about case (in)sensitivity because that is a property of the file system. It can't know about it either because that would rule out the possibility of constructing paths that don't already exist.mattrenaud commentedon Jan 27, 2018
Ok thanks