mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
lib: removes unnecessary params
PR-URL: https://github.com/nodejs/node/pull/32694 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com>
This commit is contained in:
1 parent
546a9ea998
commit
a152792590
1 file changed
+1
-1
@@ -105,7 +105,7 @@ class Dir {
|
||||
);
|
||||
}
|
||||
|
||||
readSync(options) {
|
||||
readSync() {
|
||||
if (this[kDirClosed] === true) {
|
||||
throw new ERR_DIR_CLOSED();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user