Skip to content

Commit 0ccc172

Browse files
LiviaMedeirosRafaelGSS
authored andcommitted
fs: remove unused option in fs.fstatSync()
PR-URL: #44613 Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: theanarkh <theratliter@gmail.com>
1 parent 054b1d9 commit 0ccc172

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎lib/fs.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,11 +1537,10 @@ function hasNoEntryError(ctx) {
15371537
* @param {number} fd
15381538
* @param {{
15391539
* bigint?: boolean;
1540-
* throwIfNoEntry?: boolean;
15411540
* }} [options]
15421541
* @returns {Stats}
15431542
*/
1544-
functionfstatSync(fd,options={bigint: false,throwIfNoEntry: true}){
1543+
functionfstatSync(fd,options={bigint: false}){
15451544
fd=getValidatedFd(fd);
15461545
constctx={ fd };
15471546
conststats=binding.fstat(fd,options.bigint,undefined,ctx);

0 commit comments

Comments
 (0)