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 22, 2020
1 parent 546a9ea commit a152792
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 a152792

Please sign in to comment.