fs: handle UV_ENOTDIR in `fs.statSync` with `throwIfNoEntry` provided · nodejs/node@40f3a51 · GitHub
Skip to content

Commit 40f3a51

Browse files
juanarboltargos
authored andcommitted
fs: handle UV_ENOTDIR in fs.statSync with throwIfNoEntry provided
Fixes: #56993 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com> PR-URL: #56996 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent a588066 commit 40f3a51

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

src/node_file.cc

Lines changed: 9 additions & 2 deletions

test/parallel/test-fs-stat.js

Lines changed: 5 additions & 0 deletions

0 commit comments

Comments
 (0)