Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0ccc172

Browse filesBrowse 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
Copy full SHA for 0ccc172

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Collapse file

‎lib/fs.js‎

Copy file name to clipboardExpand all lines: lib/fs.js
+1-2Lines 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-
function fstatSync(fd, options = { bigint: false, throwIfNoEntry: true }) {
1543+
function fstatSync(fd, options = { bigint: false }) {
15451544
fd = getValidatedFd(fd);
15461545
const ctx = { fd };
15471546
const stats = binding.fstat(fd, options.bigint, undefined, ctx);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.