-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
fs.existSync returns true after fs. symlinkSync node 10 onwards in windows only #30538
Comments
It seems reasonable at Linux, because the link is broken (There is no If |
The behavior of Windows seems caused by using Maybe we should firstly add some tests to |
@pd4d10 Thanks for the response. Should I consider this issue as a bug in the windows? |
Perhaps |
Hi,
I started seeing a difference in behavior when I run the following code in Linux and Windows in node 10 and node 12.
I created reproduction repo and
travis
,appveyor
CI to show the difference.Please check the output of the above snippet;
I am not sure why are we getting different result for same code in windows and Linux? Is it a bug or am I missing something.
Reproduction repo: https://github.com/SparshithNR/node-symlink
Travis build: https://travis-ci.com/SparshithNR/node-symlink/builds/137133722
appveyor build: https://ci.appveyor.com/project/SparshithNR/node-symlink
Thank you in advance :)
The text was updated successfully, but these errors were encountered: