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:
Jesus Hernandez authored and Michaël Zasso committed 2020-04-22 19:44:49 +02:00
1 parent 546a9ea998
commit a152792590
1 file changed
+1 -1
+1 -1
View File
@@ -105,7 +105,7 @@ class Dir {
);
}
readSync(options) {
readSync() {
if (this[kDirClosed] === true) {
throw new ERR_DIR_CLOSED();
}