Skip to content

Commit 2344e3e

Browse files
Narasimha1997danielleadams
authored andcommitted
benchmark : changed fstat to fstatSync
PR-URL: #36206 Fixes: #36199 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 65d89fd commit 2344e3e

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)