fs: make fs.promises non-enumerable · nodejs/node@de06115 · GitHub
Skip to content

Commit de06115

Browse files
cjihrigtargos
authored andcommitted
fs: make fs.promises non-enumerable
This prevents the experimental feature warning from being emitted in cases where fs.promises is not actually used. PR-URL: #20632 Fixes: #20504 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
1 parent e06c587 commit de06115

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

lib/fs.js

Lines changed: 1 addition & 1 deletion

test/parallel/test-fs-promises.js

Lines changed: 6 additions & 1 deletion

0 commit comments

Comments
 (0)