fix: resolve symbol links until their are no more symbolic links
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Depending on your npm / yarn set up a global install may have to resolve through several symlinks before it correctly arrives the the baseDir that actually contains the other subcommands. The changes the resolution logic to resolve symlinks until their are no more to resolve by using realpath which will resolve links all the way to the final destination.
authored by Samuel Attard · committed by Samuel Attard · parent 291fc04 · Browse files · 6 files+27 added−7 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
6 files+27 added−7 removed
- tests:+23 added−0 removed
- other:+4 added−7 removed