Skip to content

Commit

Permalink
FS: removed fs.promises.readSync() added by mistake.
Browse files Browse the repository at this point in the history
This closes nginx#810 issue on Github.
  • Loading branch information
xeioex committed Nov 6, 2024
1 parent 352c2e5 commit 441d9ad
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions external/njs_fs_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 441d9ad

Please sign in to comment.