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

Fix symlink resolve #195

Merged
merged 1 commit into from
Jul 31, 2019
Merged

Fix symlink resolve #195

merged 1 commit into from
Jul 31, 2019

Conversation

Diokuz
Copy link

@Diokuz Diokuz commented Jul 2, 2019

The problem: preserveSymlinks = false does not work in sync mode.

ljharb
ljharb previously requested changes Jul 2, 2019
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide regression tests.

@Diokuz
Copy link
Author

Diokuz commented Jul 3, 2019

I made it, but for unknown reasons, it fails on runner. Locally everything is okay.

@Diokuz
Copy link
Author

Diokuz commented Jul 3, 2019

Original problem is dependents/node-filing-cabinet#81

@ljharb
Copy link
Member

ljharb commented Jul 5, 2019

The new test still fails for me locally, on my Mac.

@ljharb
Copy link
Member

ljharb commented Jul 31, 2019

I've added this to #197.

@ljharb ljharb dismissed their stale review July 31, 2019 19:35

will approve via #197.

@ljharb ljharb merged commit de4e95e into browserify:master Jul 31, 2019
ljharb added a commit that referenced this pull request Aug 1, 2019
 - [New] `core`: add `_debug_agent` core module, in node 1 through 7
 - [Fix] `preserveSymlinks: false` ensure that files are realpathed (#197, #195)
 - [Refactor] make `maybeUnwrapSymlink`
 - [Meta] clean up license so github can detect it
 - [Dev Deps] update `tape`
 - [Tests] fix symlinks in windows/appveyor
 - [Tests] up to `node` `v12.7`, `v10.16`, `v8.16`
 - [Tests] gitignore file created in tests; remove it in test setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants