Skip to content

Commit 2bbf253

Browse files
Narasimha1997targos
authored andcommitted
benchmark : changed fstat to fstatSync
PR-URL: #36206 Fixes: #36199 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 6201f23 commit 2bbf253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/fs/bench-statSync.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ function main({ n, statSyncType }) {
2121
}
2222
bench.end(n);
2323

24-
if (statSyncType === 'fstat')
24+
if (statSyncType === 'fstatSync')
2525
fs.closeSync(arg);
2626
}

0 commit comments

Comments
 (0)