Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

path.relative regression in v5.7.0 #5489

Closed
c-f-h opened this issue Feb 29, 2016 · 1 comment
Closed

path.relative regression in v5.7.0 #5489

c-f-h opened this issue Feb 29, 2016 · 1 comment
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs.

Comments

@c-f-h
Copy link

c-f-h commented Feb 29, 2016

> var path = require('path');
> path.relative('/home/foo/bar', '/home/foo')
"../../foo"

Expected output is "..", which is what happens in v5.5.0, v4.3.1, v0.12.10 and v0.10.42.

  • Version: v5.7.0
  • Platform: Linux 4.0.5-gentoo SMP PREEMPT Mon Sep 14 14:30:27 CEST 2015 x86_64 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux
  • Subsystem: path
@silverwind
Copy link
Contributor

The fix for this has already landed in 3a331b6.

There will be a 5.7.1 this week which will include the fix, watch #5464.

@ChALkeR ChALkeR added the duplicate Issues and PRs that are duplicates of other issues or PRs. label Feb 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs.
Projects
None yet
Development

No branches or pull requests

3 participants