Skip to content

fix(sea): files inside symlinks are not resolved correctly (#295) - #296

Open
mpotthoff wants to merge 1 commit into
yao-pkg:mainfrom
mpotthoff:295-resolve-symlinks
Open

fix(sea): files inside symlinks are not resolved correctly (#295)#296
mpotthoff wants to merge 1 commit into
yao-pkg:mainfrom
mpotthoff:295-resolve-symlinks

Conversation

@mpotthoff

Copy link
Copy Markdown

Fixes #295

This change does require us to always walk up the full path hierarchy to detect any parent symlinks, which will worsen the performance. I also had to remove the object-has-key fast path.
To at least keep the performance the same for projects that don't use any symlinks, I added a precomputed flag that determines whether any symlink exists. If there are no symlinks, we can immediately return out of the function.

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.

Files inside symlink directories are not resolved when using sea

1 participant