details: https://github.com/nginx/njs/commit/1a6cc6d2b82e134f175650988949d25061ac9783
branches: master
commit: 1a6cc6d2b82e134f175650988949d25061ac9783
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Tue, 5 Nov 2024 19:01:52 -0800
description:
FS: removed fs.promises.readSync() added by mistake.
This closes #810 issue on Github.
---
external/njs_fs_module.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/external/njs_fs_module.c b/external/njs_fs_module.c
index f5221883..5f8924ae 100644
--- a/external/njs_fs_module.c
+++ b/external/njs_fs_module.c
@@ -395,17 +395,6 @@ static njs_external_t njs_ext_fs_promises[] = {
}
},
- {
- .flags = NJS_EXTERN_METHOD,
- .name.string = njs_str("readSync"),
- .writable = 1,
- .configurable = 1,
- .u.method = {
- .native = njs_fs_read,
- .magic8 = NJS_FS_PROMISE,
- }
- },
-
{
.flags = NJS_EXTERN_METHOD,
.name.string = njs_str("readdir"),
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel