Skip to content

Skips checking for symbolic links#520

Merged
arcanis merged 3 commits into
masterfrom
mael/pnp-realpath
Oct 9, 2019
Merged

Skips checking for symbolic links#520
arcanis merged 3 commits into
masterfrom
mael/pnp-realpath

Conversation

@arcanis
Copy link
Copy Markdown
Member

@arcanis arcanis commented Oct 9, 2019

What's the problem this PR addresses?

Now that we don't use symlinks anymore to disambiguate peer dependencies (#303), we don't need to take special care about what's a symlink and what isn't - we can just realpath the whole path, just like Node would do.

A followup would be to add support for a preserveSymlinks option.

How did you fix it?

Replaced the weird symlink check by a good old realpath.

@arcanis arcanis force-pushed the mael/pnp-realpath branch from 5b07a13 to 5a7ebdf Compare October 9, 2019 07:51
@arcanis arcanis merged commit 512a6a8 into master Oct 9, 2019
@arcanis arcanis deleted the mael/pnp-realpath branch October 9, 2019 08:05
larixer pushed a commit that referenced this pull request Oct 11, 2019
* Skips checking for symbolic links

* Bumps versions

* Updates the artifacts
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.

1 participant