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
ls doesn't follow links to directories #733
Comments
It has to do with the way files are handled, specificallly in |
@freitagbr were you able to bisect to a commit? Unix behavior can be somewhat inconsistent around here, so this bug probably arose as a side effect of another bug fix. It would be good to understand all the scenarios we need to account for. |
I will do the bisect tonight. |
Ok, git bisect landed me at commit
Thus, the bug was introduced in commit |
That would be #369 |
Originally reported as #446
Node version (or tell us if you're using electron or some other framework):
latest
ShellJS version (the most recent version/Github branch you see the bug on):
Latest. The bug was introduced in v0.7.0
Operating system:
Confirmed on both OS X and Linux.
Description of the bug:
Originally reported in #446. I'm branching this off, since that issue actually discusses two changes.
ls()
doesn't follow symlinks pointing to directories, whilels
does in Bash.Example ShellJS command to reproduce the error:
@freitagbr can you investigate? We should bisect to find the commit that introduced this bug (possibly something from this list). From there, we can figure out how to fix this.
The text was updated successfully, but these errors were encountered: