diff --git a/lib/internal/fs/dir.js b/lib/internal/fs/dir.js index 1351ce6c245281..e23b2f7725b2a2 100644 --- a/lib/internal/fs/dir.js +++ b/lib/internal/fs/dir.js @@ -105,7 +105,7 @@ class Dir { ); } - readSync(options) { + readSync() { if (this[kDirClosed] === true) { throw new ERR_DIR_CLOSED(); }