You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your example seems to be working as intended: The difference between lstat and stat is that lstat returns information about the link itself, if the path points to one, so you get information about ./x, not ../x. And ./x is a symbolic link, not a directory.
It appears that
fs.lstat()
has regressed, suchstats.isDirectory()
will always returnfalse
regardless if the path is an actual directory.screenshot example:

The text was updated successfully, but these errors were encountered: