Skip to content

Commit 49abda7

Browse files
Narasimha1997nodejs-github-bot
authored andcommitted
benchmark : changed fstat to fstatSync
PR-URL: nodejs#36206 Fixes: nodejs#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 2b21a31 commit 49abda7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)