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

Fixes path detection for nvm users #36

Merged
merged 1 commit into from
Feb 10, 2016
Merged

Conversation

anshul
Copy link
Contributor

@anshul anshul commented Feb 10, 2016

nvm creates the symlinks:

  • ~/.nvm/versions/node/v5.5.0/bin/diff-so-fancy -> ~/.nvm/versions/node/v5.5.0/lib/node_modules/diff-so-fancy/diff-so-fancy
  • ~/.nvm/versions/node/v5.5.0/bin/diff-highlight -> ~/.nvm/versions/node/v5.5.0/lib/node_modules/diff-so-fancy/third_party/diff-highlight/diff-highlight

which was breaking the path detection.

nvm creates the symlinks:
  * ~/.nvm/versions/node/v5.5.0/bin/diff-so-fancy -> ~/.nvm/versions/node/v5.5.0/lib/node_modules/diff-so-fancy/diff-so-fancy
  * ~/.nvm/versions/node/v5.5.0/bin/diff-highlight -> ~/.nvm/versions/node/v5.5.0/lib/node_modules/diff-so-fancy/third_party/diff-highlight/diff-highlight
which was breaking the path detection.
@anshul
Copy link
Contributor Author

anshul commented Feb 10, 2016

This fixes the same problem as #24

@stevemao
Copy link
Member

What do you think of #29?
Maybe better to combine them?

@paulirish
Copy link
Member

This works for me. Let's merge and then followup with whats happening in #29

paulirish added a commit that referenced this pull request Feb 10, 2016
Fixes path detection for nvm users
@paulirish paulirish merged commit d3691b0 into so-fancy:master Feb 10, 2016
@stevemao stevemao mentioned this pull request Feb 11, 2016
@paulirish paulirish mentioned this pull request Feb 18, 2016
5 tasks
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.

None yet

3 participants