From 1a6cc6d2b82e134f175650988949d25061ac9783 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Tue, 5 Nov 2024 19:01:52 -0800 Subject: [PATCH] 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 f52218830..5f8924ae9 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"),