Skip to content

Commit bbbb446

Browse files
LiviaMedeirosjuanarbol
authored andcommitted
fs: remove unused option in fs.fstatSync()
PR-URL: #44613 Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: theanarkh <[email protected]>
1 parent 90eaae3 commit bbbb446

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/fs.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1529,11 +1529,10 @@ function hasNoEntryError(ctx) {
15291529
* @param {number} fd
15301530
* @param {{
15311531
* bigint?: boolean;
1532-
* throwIfNoEntry?: boolean;
15331532
* }} [options]
15341533
* @returns {Stats}
15351534
*/
1536-
function fstatSync(fd, options = { bigint: false, throwIfNoEntry: true }) {
1535+
function fstatSync(fd, options = { bigint: false }) {
15371536
fd = getValidatedFd(fd);
15381537
const ctx = { fd };
15391538
const stats = binding.fstat(fd, options.bigint, undefined, ctx);

0 commit comments

Comments
 (0)