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

Does not find package.json(s) when current working directory is a symbolic link. #1

Open
AdamVanScyoc opened this issue Feb 15, 2021 · 0 comments
Assignees

Comments

@AdamVanScyoc
Copy link

Hi, thanks for dusti-lock, I've been playing with it and its a helpful tool.

I noticed that when I'm in a symlinked directory, dusti-lock doesn't find package.json files.

Steps to repro:

  1. Clone this test repo I created: https://github.com/AdamVanScyoc/dusti_test
  2. run dusti-lock in the base directory and observe that it finds package.json, and reports that it found an unregistered Node package
  3. From repo root, cd dusti_test_link/
  4. run dusti-lock and observe that it finishes instantly and does not report the unregistered package as before.
┌─[Adam@89]─[~/repos/dusti-lock]
└──╼ $go version
go version go1.14.3 darwin/amd64
┌─[Adam@89]─[~/repos/dusti-lock]
└──╼ $git version
git version 2.28.0
┌─[Adam@89]─[~/repos/dusti-lock]
└──╼ $sh --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)
Copyright (C) 2007 Free Software Foundation, Inc.

I can provide any relevant version numbers or env. details you need. Thanks again

@jossef jossef self-assigned this Mar 7, 2021
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

No branches or pull requests

2 participants