Skip to content

Commit

Permalink
lib: removes unnecessary params
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
JesuHrz authored and targos committed Apr 12, 2020
1 parent d7b526c commit 180e437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/fs/dir.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Dir {
);
}

readSync(options) {
readSync() {
if (this[kDirClosed] === true) {
throw new ERR_DIR_CLOSED();
}
Expand Down

0 comments on commit 180e437

Please sign in to comment.